/**
 * Soleil 2026 redesign (plan.md): header, footer, language switcher, quote dialog, homepage sections.
 * Loaded after brand-typography.css (which sets the H1/H2/H3/Sub/Text rules); colors come from its variables.
 */

/* ======================================================================
   Header
   ====================================================================== */
.soleil-header {
  --topbar-h: 44px;
  --mainbar-h: 84px;
  position: relative !important;
  top: auto !important;
  z-index: 50;
  min-height: calc(var(--topbar-h) + var(--mainbar-h));
  padding: 0 !important;
  background: var(--brand-white);
  animation: none !important;
}
.soleil-header .container {
  max-width: 1320px;
}

.soleil-topbar {
  background: var(--brand-primary);
  color: var(--brand-white);
  font-family: var(--brand-text-font);
  font-size: 14px;
  line-height: 1.4;
}
.soleil-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--topbar-h);
}
.soleil-topbar-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.soleil-topbar-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--brand-white);
}
.soleil-topbar-info i {
  font-size: 13px;
}
.soleil-topbar a,
.soleil-topbar a:hover {
  color: var(--brand-white);
}

.soleil-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--brand-text-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.soleil-lang a {
  color: var(--brand-white);
  opacity: 0.8;
  text-decoration: none;
}
.soleil-lang a:hover,
.soleil-lang a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.soleil-lang .is-active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.soleil-lang-sep {
  opacity: 0.6;
  font-weight: 400;
}

.soleil-mainbar {
  background: var(--brand-white);
  box-shadow: 0 1px 0 rgba(14, 42, 71, 0.1);
}
.soleil-mainbar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--mainbar-h);
  position: relative;
}
.soleil-logo {
  flex-shrink: 0;
}
.soleil-logo img {
  display: block;
  width: auto;
  height: 42px;
}

.soleil-header .soleil-nav {
  margin-left: auto;
}
.soleil-header .soleil-nav > ul > li {
  margin: 0 16px;
  padding: 0;
}
.soleil-header .soleil-nav > ul > li > a {
  padding: 30px 0;
  color: var(--brand-navy) !important;
  font-family: var(--brand-text-font) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
.soleil-header .soleil-nav > ul > li > a:hover,
.soleil-header .soleil-nav > ul > li.current-menu-item > a,
.soleil-header .soleil-nav > ul > li.current-menu-ancestor > a {
  color: var(--brand-primary) !important;
}
.soleil-header .soleil-nav > ul > li.dropdown > a::after {
  color: inherit;
}
.soleil-header .dropdown-menu {
  border-top: 3px solid var(--brand-primary);
}
.soleil-header .dropdown-menu a {
  font-family: var(--brand-text-font) !important;
  text-transform: none !important;
}

.soleil-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--brand-white) !important;
  font-family: var(--brand-text-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.2s;
}
.soleil-quote-btn:hover,
.soleil-quote-btn:focus-visible {
  background: var(--brand-navy);
  color: var(--brand-white) !important;
}

/* sticky: the parent's script adds .sticky-on after 250px of scroll; only the main bar is pinned, and the
   header keeps its height (min-height above) so the page does not jump */
.soleil-header.sticky-on .soleil-mainbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 6px 20px rgba(14, 42, 71, 0.12);
  animation: soleil-drop 0.35s ease-out;
}
.admin-bar .soleil-header.sticky-on .soleil-mainbar {
  top: 32px;
}
@keyframes soleil-drop {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* mobile menu (parent's drawer markup and script) */
.soleil-mobile-menu {
  display: none;
  position: static !important;
}
.soleil-header .mobile_menu_button {
  position: static;
  display: block;
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--brand-navy);
  font-size: 26px;
  line-height: 1;
}
.soleil-header .mobile_menu_close {
  border: 0;
  background: none;
  color: var(--brand-white);
}
.soleil-header .mobile_menu_content {
  background-color: var(--brand-navy);
}
.soleil-header .mobile_menu_content .mobile-main-navigation .navbar-nav li a {
  font-family: var(--brand-text-font) !important;
  text-transform: none !important;
  font-size: 15px;
}
.soleil-quote-btn--drawer {
  margin: 28px 30px;
}
.soleil-header .m-brand-logo img {
  height: 38px;
  width: auto;
}

@media (max-width: 1199px) {
  .soleil-header .soleil-nav > ul > li {
    margin: 0 10px;
  }
  .soleil-topbar-hours {
    display: none !important;
  }
}
@media (max-width: 991px) {
  .soleil-header {
    --mainbar-h: 70px;
  }
  .soleil-header .soleil-nav,
  .soleil-mainbar-inner > .soleil-quote-btn {
    display: none !important;
  }
  .soleil-mobile-menu {
    display: block;
    margin-left: auto;
  }
  .soleil-logo img {
    height: 36px;
  }
}
@media (max-width: 767px) {
  .soleil-header {
    --topbar-h: 36px;
  }
  .soleil-topbar {
    font-size: 13px;
  }
  .soleil-topbar-address,
  .soleil-topbar .soleil-lang {
    display: none !important;
  }
  .soleil-topbar-inner {
    justify-content: center;
  }
}

/* page banners were sized for the old transparent header that sat on top of them */
.ft-breadcrumb-section {
  padding: 110px 0 100px !important;
}
@media (max-width: 991px) {
  .ft-breadcrumb-section {
    padding: 80px 0 70px !important;
  }
}

/* ======================================================================
   Language button on phones (fly button), above the back-to-top button
   ====================================================================== */
.soleil-lang-fly {
  display: none;
}
@media (max-width: 767px) {
  .soleil-lang-fly {
    position: fixed;
    right: 16px;
    bottom: 84px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-navy);
    color: var(--brand-white) !important;
    font-family: var(--brand-text-font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 18px rgba(14, 42, 71, 0.3);
    border: 2px solid var(--brand-white);
  }
  .soleil-lang-fly:focus-visible {
    outline: 3px solid var(--brand-primary);
    outline-offset: 2px;
  }
}

/* ======================================================================
   Footer
   ====================================================================== */
.soleil-footer {
  padding: 56px 0 28px;
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--brand-text-font);
}
.soleil-footer .container {
  max-width: 1320px;
}
.soleil-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.soleil-footer-logo img {
  display: block;
  width: auto;
  height: 46px;
}
.soleil-social {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.soleil-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-white);
  font-size: 16px;
  transition: background-color 0.2s;
}
.soleil-social a:hover,
.soleil-social a:focus-visible {
  background: var(--brand-primary);
  color: var(--brand-white);
}
.soleil-footer-card {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}
.soleil-footer .soleil-footer-tagline {
  margin: 0 0 18px;
  color: var(--brand-white) !important;
  font-weight: 600;
}
.soleil-footer-list,
.soleil-footer-menu,
.soleil-footer-legal {
  margin: 0;
  padding: 0;
  list-style: none;
}
.soleil-footer-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.7;
}
.soleil-footer-list i {
  flex: 0 0 16px;
  margin-top: 6px;
  color: var(--brand-primary);
}
.soleil-footer-list strong {
  color: var(--brand-white);
  font-weight: 600;
}
.soleil-footer .soleil-footer-title {
  margin: 0 0 18px;
}
.soleil-footer-menu li {
  margin-bottom: 10px;
}
.soleil-footer a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  transition: color 0.2s;
}
.soleil-footer a:hover,
.soleil-footer a:focus-visible {
  color: var(--brand-primary);
}
.soleil-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 28px;
  font-size: 14px;
}
.soleil-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.soleil-footer-legal a {
  font-size: 14px;
}
@media (max-width: 991px) {
  .soleil-footer-card {
    grid-template-columns: 1fr 1fr;
    padding: 32px 28px;
  }
  .soleil-footer-contact {
    grid-column: 1 / -1;
  }
}
@media (max-width: 575px) {
  .soleil-footer-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
  }
  .soleil-footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ======================================================================
   Quote dialog and quote form (CF7 forms "Request a Quote – EN" / "Yêu cầu báo giá – VI")
   ====================================================================== */
.soleil-quote-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 40px 40px 32px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(14, 42, 71, 0.35);
  overflow: auto;
}
.soleil-quote-dialog::backdrop {
  background: rgba(14, 42, 71, 0.65);
}
.soleil-dialog-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--brand-navy);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.soleil-dialog-close:hover,
.soleil-dialog-close:focus-visible {
  background: rgba(14, 42, 71, 0.08);
}
.soleil-quote-dialog h3 {
  margin: 0 0 6px;
}
.soleil-quote-intro {
  margin: 0 0 22px !important;
}
@media (max-width: 575px) {
  .soleil-quote-dialog {
    padding: 32px 20px 24px;
  }
}

.sq-form {
  display: grid;
  gap: 16px;
}
.sq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sq-field {
  display: block;
  margin: 0;
}
.sq-field > span:first-child {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-navy);
  font-family: var(--brand-text-font);
  font-size: 14px;
  font-weight: 600;
}
.sq-form input[type="text"],
.sq-form input[type="email"],
.sq-form input[type="tel"],
.sq-form select,
.sq-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c9d3de;
  border-radius: 10px;
  background: var(--brand-white);
  color: var(--brand-navy);
  font-family: var(--brand-text-font);
  font-size: 15px;
}
.sq-form textarea {
  min-height: 110px;
  resize: vertical;
}
.sq-form input:focus,
.sq-form select:focus,
.sq-form textarea:focus {
  border-color: var(--brand-primary);
  outline: 2px solid rgba(250, 66, 22, 0.25);
}
.sq-submit input[type="submit"],
.sq-submit .wpcf7-submit {
  min-height: 52px;
  padding: 0 36px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5a2b 0%, var(--brand-primary) 55%, #c42c08 100%);
  color: var(--brand-white);
  font-family: var(--brand-text-font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(250, 66, 22, 0.3);
}
.sq-submit .wpcf7-submit:hover,
.sq-submit .wpcf7-submit:focus-visible {
  background: var(--brand-navy);
}
.sq-form .wpcf7-not-valid-tip {
  font-size: 13px;
}
@media (max-width: 575px) {
  .sq-row {
    grid-template-columns: 1fr;
  }
}

/* ======================================================================
   Homepage sections (built by work/build/60-home-data.py; classes set on the Elementor sections)
   ====================================================================== */
html {
  scroll-behavior: smooth;
}
#quote,
#clients {
  scroll-margin-top: 90px;
}
.soleil-sec {
  position: relative;
  padding: 90px 16px;
}
.soleil-sec > .elementor-container {
  max-width: 1200px;
}
.soleil-center,
.soleil-center p {
  text-align: center;
}
.soleil-sec .soleil-sub p {
  max-width: 860px;
  margin: 10px auto 0 !important;
  font-size: 17px !important;
  color: var(--brand-navy) !important;
}
.soleil-sec.soleil-about .soleil-sub p {
  margin-left: 0 !important;
}
.soleil-sec.soleil-dark .soleil-sub p,
.soleil-dark h2,
.soleil-dark h2.elementor-heading-title {
  color: var(--brand-white) !important;
}

/* call-to-action buttons */
.soleil-cta {
  margin-top: 36px;
}
.soleil-cta .elementor-button {
  min-height: 54px;
  padding: 16px 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5a2b 0%, var(--brand-primary) 55%, #c42c08 100%);
  color: var(--brand-white);
  font-family: var(--brand-text-font);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(250, 66, 22, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.soleil-cta .elementor-button:hover,
.soleil-cta .elementor-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(250, 66, 22, 0.36);
  color: var(--brand-white);
}

/* 1 hero */
.soleil-hero {
  padding: 0 16px;
  overflow: hidden;
}
.soleil-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 42, 71, 0.94) 0%, rgba(14, 42, 71, 0.78) 45%, rgba(14, 42, 71, 0.2) 100%);
}
.soleil-hero > .elementor-container {
  min-height: 640px;
  align-items: center;
  z-index: 1;
}
.soleil-hero .elementor-widget-wrap {
  max-width: 720px;
}
.soleil-hero h1,
.soleil-hero h1.elementor-heading-title {
  color: var(--brand-white) !important;
  padding-left: 22px;
  border-left: 5px solid var(--brand-primary);
}
.soleil-hero .soleil-hero-sub p {
  margin-top: 18px !important;
  color: var(--brand-white) !important;
  font-size: 17px !important;
}
.soleil-hero .soleil-cta {
  margin-top: 30px;
}

/* placeholders until marketing sends the logo files */
.soleil-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 10px 16px;
  border: 2px dashed rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  color: var(--brand-white);
  font-family: var(--brand-text-font);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

/* 2 accreditation logos */
.soleil-accred {
  padding: 34px 16px;
  background: var(--brand-primary);
}
.soleil-accred-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 3 about */
.soleil-about .elementor-column.soleil-about-text > .elementor-element-populated {
  padding-right: 48px !important;
  align-content: center;
}

/* 4 stats */
.soleil-stats {
  padding: 56px 16px;
  background: var(--brand-primary);
}
.soleil-stats .elementor-counter .elementor-counter-number-wrapper {
  justify-content: flex-start;
  color: var(--brand-white);
  font-family: var(--brand-heading-font);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
}
.soleil-stats .elementor-counter .elementor-counter-number-prefix,
.soleil-stats .elementor-counter .elementor-counter-number-suffix {
  flex-grow: 0;
}
.soleil-stats .elementor-counter .elementor-counter-title {
  justify-content: flex-start;
  margin-top: 8px;
  color: var(--brand-white);
  font-family: var(--brand-text-font);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}
.soleil-stats .elementor-container > .elementor-column > .elementor-element-populated {
  padding: 10px 20px;
}

/* 5 services + 6 why: cards */
.soleil-services {
  background: var(--brand-white);
}
.soleil-why {
  background: #f4f6f9;
}
.soleil-cards {
  margin-top: 28px;
}
.soleil-cards + .soleil-cards {
  margin-top: 0;
}
.soleil-cards--3 > .elementor-container {
  max-width: 75%;
  margin: 0 auto;
}
.soleil-cards .elementor-column.soleil-card > .elementor-element-populated {
  margin: 10px;
  padding: 28px 24px !important;
  border-radius: 16px;
  background: #f4f6f9;
  align-content: flex-start;
}
.soleil-why .soleil-cards .elementor-column.soleil-card > .elementor-element-populated {
  background: var(--brand-white);
  box-shadow: 0 8px 28px rgba(14, 42, 71, 0.07);
  padding: 32px 30px !important;
}
.soleil-card h3,
.soleil-card h3.elementor-heading-title {
  margin-bottom: 12px;
}
.soleil-card .elementor-widget-heading {
  margin-bottom: 4px;
}

/* 7 industries */
.soleil-ind-row {
  margin-top: 36px;
}
.soleil-ind-row > .elementor-container {
  align-items: center;
}
.soleil-industries .elementor-column.soleil-ind-text > .elementor-element-populated {
  padding: 0 40px 0 0 !important;
}
.soleil-industries .soleil-ind-row--rev .elementor-column.soleil-ind-text > .elementor-element-populated {
  padding: 0 0 0 40px !important;
}
.soleil-ind-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
}
@media (min-width: 768px) {
  .soleil-ind-row--rev > .elementor-container {
    flex-direction: row-reverse;
  }
}

/* 8 clients: heading on light, logos on an orange band */
.soleil-clients {
  padding-bottom: 40px;
}
.soleil-logo-band {
  padding: 50px 16px;
  background: var(--brand-primary);
}
.soleil-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 9 partners: logos scrolling continuously (list doubled in the markup, so -50% loops seamlessly) */
.soleil-partners::before,
.soleil-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 42, 71, 0.86);
}
.soleil-partners > .elementor-container,
.soleil-quote > .elementor-container {
  z-index: 1;
}
.soleil-marquee {
  margin-top: 34px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.soleil-marquee + .soleil-marquee {
  margin-top: 20px;
}
.soleil-marquee-track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: soleil-marquee 45s linear infinite;
}
.soleil-marquee--rev .soleil-marquee-track {
  animation-direction: reverse;
}
/* pause on hover only where there is a real pointer: on touch screens a tap left the strip stuck in :hover */
@media (hover: hover) and (pointer: fine) {
  .soleil-marquee:hover .soleil-marquee-track {
    animation-play-state: paused;
  }
}
/* spacing is a right margin on every item (not flex gap), so the doubled list is exactly twice one copy and the
   -50% loop point lands on the same spot: no jump at the end of each cycle */
.soleil-marquee-track li {
  flex: 0 0 auto;
  min-width: 180px;
  margin-right: 28px;
}
@keyframes soleil-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .soleil-marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    animation: none;
  }
  .soleil-marquee-track li[aria-hidden="true"] {
    display: none;
  }
}

/* 10 quote form */
.soleil-quote-card-row {
  margin-top: 36px;
}
.soleil-quote-card-row > .elementor-container {
  max-width: 820px;
  margin: 0 auto;
}
.soleil-quote .elementor-column.soleil-quote-card > .elementor-element-populated {
  padding: 40px !important;
  border-radius: 18px;
  background: var(--brand-white);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}
.soleil-quote-card .soleil-quote-intro p {
  margin: 0 0 20px !important;
}

/* 11 testimonials */
.soleil-testimonials {
  background: var(--brand-navy);
}
.soleil-reviews {
  margin-top: 30px;
}

/* 12 news */
.soleil-news {
  background: var(--brand-white);
}
.soleil-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.soleil-news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: var(--brand-white);
  box-shadow: 0 10px 34px rgba(14, 42, 71, 0.1);
}
.soleil-news-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}
.soleil-news-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 26px 28px;
}
.soleil-news-meta {
  margin-bottom: 10px;
  color: var(--brand-primary);
  font-family: var(--brand-text-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.soleil-news .soleil-news-title {
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.soleil-news-title a {
  color: inherit;
}
.soleil-news-excerpt {
  flex: 1;
  margin: 0 0 16px !important;
}
.soleil-news-more {
  color: var(--brand-primary);
  font-family: var(--brand-text-font);
  font-weight: 700;
}
.soleil-news-more:hover {
  color: var(--brand-navy);
}

/* responsive */
@media (max-width: 1024px) {
  .soleil-cards--4 > .elementor-container > .elementor-column,
  .soleil-cards--3 > .elementor-container > .elementor-column {
    width: 50% !important;
  }
  .soleil-cards--3 > .elementor-container {
    max-width: 100%;
    flex-wrap: wrap;
  }
  .soleil-cards--4 > .elementor-container {
    flex-wrap: wrap;
  }
  .soleil-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .soleil-news-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .soleil-sec {
    padding: 64px 16px;
  }
  .soleil-hero > .elementor-container {
    min-height: 520px;
  }
  .soleil-hero::before {
    background: rgba(14, 42, 71, 0.82);
  }
  .soleil-accred-list {
    grid-template-columns: 1fr 1fr;
  }
  .soleil-about .elementor-column.soleil-about-text > .elementor-element-populated,
  .soleil-industries .elementor-column.soleil-ind-text > .elementor-element-populated,
  .soleil-industries .soleil-ind-row--rev .elementor-column.soleil-ind-text > .elementor-element-populated {
    padding: 0 0 20px !important;
  }
  .soleil-stats .elementor-column {
    width: 50% !important;
  }
  .soleil-stats .elementor-container {
    flex-wrap: wrap;
  }
  .soleil-stats .elementor-counter .elementor-counter-number-wrapper {
    font-size: 40px;
  }
  .soleil-cards--4 > .elementor-container > .elementor-column,
  .soleil-cards--3 > .elementor-container > .elementor-column {
    width: 100% !important;
  }
  .soleil-cards .elementor-column.soleil-card > .elementor-element-populated {
    margin: 8px 0;
  }
  .soleil-logo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .soleil-quote .elementor-column.soleil-quote-card > .elementor-element-populated {
    padding: 28px 20px !important;
  }
  .soleil-news-grid {
    grid-template-columns: 1fr;
  }
  .soleil-ind-img img {
    height: 220px;
  }
}

/* long Vietnamese/English hero titles on phones: 35px uppercase does not fit one word per line */
@media (max-width: 767px) {
  .soleil-hero h1,
  .soleil-hero h1.elementor-heading-title {
    font-size: 26px !important;
    overflow-wrap: anywhere;
  }
}

/* phones: the about images (copied from the previous homepage) are absolutely positioned and stuck out of the
   screen; the placeholder logo labels must wrap instead of widening the grid */
.soleil-sec.soleil-about {
  overflow: hidden;
}
.soleil-accred-list,
.soleil-logo-grid {
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
}
.soleil-logo-grid {
  --cols: 5;
}
.soleil-accred-list .soleil-placeholder,
.soleil-logo-grid .soleil-placeholder {
  white-space: normal;
}
@media (max-width: 1024px) {
  .soleil-logo-grid {
    --cols: 3;
  }
}
@media (max-width: 767px) {
  .soleil-accred-list,
  .soleil-logo-grid {
    --cols: 2;
  }
}
@media (max-width: 1024px) {
  .soleil-about .elementor-element.elementor-absolute {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px !important;
    transform: none !important;
  }
}

/* accreditation strip (selectors prefixed with .soleil-accred-list to beat Elementor's `.elementor img { height: auto }`): network logos (WCA, GLA) and text badges (NVOCC: no official logo exists and the FMC seal may
   not be used; IATA: the only authorised mark is the blue cargo-agent seal from the IATA Customer Portal, not to be recoloured) */
.soleil-accred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 4px 16px;
  color: var(--brand-white);
  text-align: center;
}
.soleil-accred-item + .soleil-accred-item {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.soleil-accred-title {
  color: var(--brand-white);
  font-family: var(--brand-text-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}
.soleil-accred-sub {
  margin-top: 4px;
  color: var(--brand-white);
  font-family: var(--brand-text-font);
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.9;
}
.soleil-accred-list .soleil-accred-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 54px;
}
.soleil-accred-list .soleil-accred-img--mono {
  filter: brightness(0) invert(1);
}
@media (max-width: 767px) {
  .soleil-accred-list {
    row-gap: 18px;
  }
  .soleil-accred-item + .soleil-accred-item {
    border-left: 0;
  }
  .soleil-accred-title {
    font-size: 14px;
  }
  .soleil-accred-list .soleil-accred-img {
    height: 44px;
  }
}

/* ======================================================================
   Motion on the home page (marketing request 2026-10-14).
   Entrance animations come from Elementor (set in 60-home-data.py); below: hero background zoom, staggered lists
   (items carry --i), hover lifts. Everything is switched off for people who ask for reduced motion.
   ====================================================================== */
@keyframes soleil-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@keyframes soleil-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* hero: the section background is copied to a layer that zooms slowly behind the dark overlay */
.soleil-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: inherit;
  background-size: cover;
  animation: soleil-kenburns 18s ease-in-out infinite alternate;
  will-change: transform;
}
.soleil-hero::before {
  z-index: 1;
}
.soleil-hero > .elementor-container {
  z-index: 2;
}

/* lists inside an animated widget rise one after another */
.elementor-widget.animated .soleil-accred-list > li,
.elementor-widget.animated .soleil-logo-grid > li,
.elementor-widget.animated .soleil-news-card {
  animation: soleil-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}
.elementor-widget.animated .soleil-news-card {
  animation-duration: 0.7s;
  animation-delay: calc(var(--i, 0) * 140ms);
}

/* hover (mouse/trackpad only) */
.soleil-ind-img .elementor-widget-container {
  overflow: hidden;
  border-radius: 16px;
}
.soleil-news-thumb {
  display: block;
  overflow: hidden;
}
@media (hover: hover) {
  .soleil-cards .elementor-column.soleil-card > .elementor-element-populated,
  .soleil-news-card,
  .soleil-logo-grid > li,
  .soleil-accred-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .soleil-cards .elementor-column.soleil-card:hover > .elementor-element-populated {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(14, 42, 71, 0.14);
  }
  .soleil-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(14, 42, 71, 0.16);
  }
  .soleil-logo-grid > li:hover,
  .soleil-accred-item:hover {
    transform: translateY(-3px);
  }
  .soleil-ind-img img,
  .soleil-news-thumb img {
    transition: transform 0.6s ease;
  }
  .soleil-ind-row:hover .soleil-ind-img img,
  .soleil-news-card:hover .soleil-news-thumb img {
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .soleil-hero::after {
    animation: none;
  }
  .elementor-invisible {
    visibility: visible !important;
  }
  .soleil-sec .animated,
  .elementor-widget.animated .soleil-accred-list > li,
  .elementor-widget.animated .soleil-logo-grid > li,
  .elementor-widget.animated .soleil-news-card {
    animation: none !important;
  }
}

/* ======================================================================
   Fixes from the 2026-10-14 brief/mobile audit
   ====================================================================== */
/* mobile drawer: the floating contact buttons (plugin button-contact-vr, z-index 99999), the language button and
   back-to-top were drawn over the menu; the parent's script adds body.mobile_menu_overlay_on while it is open */
body.mobile_menu_overlay_on #button-contact-vr,
body.mobile_menu_overlay_on .soleil-lang-fly,
body.mobile_menu_overlay_on .up {
  display: none !important;
}

/* floating contact buttons (4 x 90px) covered body text on phones/tablets: smaller there, and the footer gets room
   at the bottom so its last row can scroll clear of them */
@media (max-width: 1024px) {
  #button-contact-vr {
    transform: scale(0.62);
    transform-origin: 0 100%;
  }
  .soleil-footer {
    padding-bottom: 230px;
  }
}

/* call-to-action labels that wrap to two lines on phones */
.soleil-cta .elementor-button-text {
  line-height: 1.35;
}
@media (max-width: 480px) {
  .soleil-cta .elementor-button {
    padding: 14px 26px;
  }
}

/* Turnstile is a fixed 300px widget: on screens under 400px it stuck out of forms (FAQ page, quote dialog) */
@media (max-width: 400px) {
  .cf7-cf-turnstile,
  .sq-turnstile {
    max-width: 100%;
    overflow: hidden;
  }
  .cf7-cf-turnstile .cf-turnstile,
  .sq-turnstile .cf-turnstile {
    transform: scale(0.86);
    transform-origin: 0 0;
  }
}

/* tables in blog posts (e.g. FCL vs LCL) were cut off on phones: scroll them sideways inside the column */
@media (max-width: 767px) {
  .single-post table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Google reviews (Fouita widget): brand font, rounded white cards like the moulog reference */
.soleil-reviews,
.soleil-reviews * {
  font-family: var(--brand-text-font) !important;
}
.soleil-reviews .ft-review-card {
  border-radius: 18px !important;
  background: var(--brand-white) !important;
}
.soleil-reviews .ft-review-card .opacity-75 {
  color: var(--brand-navy);
  font-size: 15px;
  opacity: 1;
}

/* hero entrance: plain CSS so it starts as soon as the page paints (Elementor's entrance effects wait for its
   JavaScript, which kept the title and button hidden for ~3s on the first visit) */
.soleil-hero .elementor-widget-heading,
.soleil-hero .elementor-widget-text-editor,
.soleil-hero .elementor-widget-button {
  animation: soleil-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.soleil-hero .elementor-widget-text-editor {
  animation-delay: 0.15s;
}
.soleil-hero .elementor-widget-button {
  animation-delay: 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .soleil-hero .elementor-widget-heading,
  .soleil-hero .elementor-widget-text-editor,
  .soleil-hero .elementor-widget-button {
    animation: none;
  }
}

/* phones: smaller back-to-top (theme default 55px) and the language button sits just above it */
@media (max-width: 767px) {
  .scrollup {
    width: 42px;
    height: 42px;
    right: 16px;
    bottom: 16px;
    line-height: 42px;
  }
  .soleil-lang-fly {
    width: 42px;
    height: 42px;
    bottom: 68px;
    font-size: 14px;
  }
}

/* 2026-10-14: the client/partner sections are hidden (Elementor "Hide On"), so the footer link to #clients is
   hidden too. Remove this rule when the sections are shown again. */
.soleil-footer-menu li:has(> a[href*="#clients"]) {
  display: none;
}
