/* Deprecated: top bar now uses the shared partner-style contact icons everywhere. */

/* Home hero tuning: bring title block higher without changing structure. */
.home .elementor-97 .elementor-element.elementor-element-23cb0064 {
  padding-top: 190px !important;
  padding-bottom: 145px !important;
}

/* Le header est défini uniquement dans header-unified.css. */

.home .elementor-97 .elementor-element.elementor-element-12529921 > .elementor-element-populated {
  padding-top: 14px !important;
  padding-bottom: 30px !important;
}

@media (max-width: 1024px) {
  .home .elementor-97 .elementor-element.elementor-element-23cb0064 {
    padding-top: 150px !important;
    padding-bottom: 115px !important;
  }

  .home .elementor-97 .elementor-element.elementor-element-12529921 > .elementor-element-populated {
    padding-top: 12px !important;
    padding-bottom: 24px !important;
  }
}

@media (max-width: 767px) {
  .home .elementor-97 .elementor-element.elementor-element-23cb0064 {
    padding-top: 124px !important;
    padding-bottom: 92px !important;
  }

  .home .elementor-97 .elementor-element.elementor-element-12529921 > .elementor-element-populated {
    padding-top: 10px !important;
    padding-bottom: 20px !important;
  }
}

/* Fallback gallery filtering for the exported Elementor gallery. */
.home .elementor-widget-gallery .elementor-gallery__titles-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 28px !important;
  text-align: center;
}

.home .elementor-widget-gallery .elementor-gallery-title {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
}

.home .elementor-widget-gallery .elementor-gallery-title:hover,
.home .elementor-widget-gallery .elementor-gallery-title:focus-visible {
  color: #9e6726;
}

.home .elementor-widget-gallery .e-gallery-item {
  overflow: hidden;
}

.home .elementor-widget-gallery .elementor-gallery-item__overlay {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  background: linear-gradient(180deg, rgba(16, 9, 2, 0.08) 20%, rgba(16, 9, 2, 0.72) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.home .elementor-widget-gallery .elementor-gallery-item__content {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: auto !important;
  height: auto !important;
  padding: 18px 16px 14px !important;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.home .elementor-widget-gallery .elementor-gallery-item__title,
.home .elementor-widget-gallery .elementor-gallery-item__description {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.home .elementor-widget-gallery .elementor-gallery-item__title {
  font-weight: 700;
}

.home .elementor-widget-gallery .e-gallery-item:hover .elementor-gallery-item__overlay,
.home .elementor-widget-gallery .e-gallery-item:focus-within .elementor-gallery-item__overlay {
  opacity: 1;
}

.home .elementor-widget-gallery .e-gallery-item:hover .elementor-gallery-item__content,
.home .elementor-widget-gallery .e-gallery-item:focus-within .elementor-gallery-item__content {
  opacity: 1;
  transform: translateY(0);
}

.home .elementor-widget-gallery .elementor-gallery__container.darinov-gallery-filtered {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-content: start;
  gap: 10px !important;
  padding-bottom: 0 !important;
  height: auto !important;
  transition: none !important;
  animation: none !important;
}

.home .elementor-widget-gallery .elementor-gallery__container.darinov-gallery-filtered .e-gallery-item {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  height: 220px !important;
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

.home .elementor-widget-gallery .elementor-gallery__container.darinov-gallery-filtered .e-gallery-item.darinov-gallery-hidden {
  display: none !important;
}

.home .elementor-widget-gallery .elementor-gallery__container.darinov-gallery-filtered .e-gallery-image {
  height: 100% !important;
  transition: none !important;
  animation: none !important;
}

.home .elementor-widget-jkit_testimonials,
.home .elementor-widget-jkit_testimonials.animated,
.home .elementor-widget-jkit_testimonials.fadeInUp {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

.swal2-container.darinov-synthesia-overlay {
  z-index: 10000 !important;
  background: rgba(11, 11, 11, 0.88) !important;
}

.darinov-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 48px 16px;
  background: rgba(11, 11, 11, 0.88);
}

.darinov-video-modal[hidden] {
  display: none !important;
}

.darinov-video-modal__dialog {
  position: relative;
  width: 100%;
}

.darinov-video-modal__content {
  margin: 0;
  padding: 0;
}

.swal2-container.darinov-synthesia-overlay .swal2-popup.darinov-synthesia-popup {
  width: auto !important;
  max-width: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.swal2-container.darinov-synthesia-overlay .swal2-popup.darinov-synthesia-popup .darinov-synthesia-html {
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.darinov-video-modal__close,
.swal2-container.darinov-synthesia-overlay .swal2-popup .jkit-swal-closeButton,
.swal2-container.darinov-synthesia-overlay .swal2-popup .swal2-close {
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  transform: none !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  background: rgba(0, 0, 0, 0.55) !important;
  color: #fff !important;
  z-index: 10001 !important;
}

.darinov-video-modal__close {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 1;
  appearance: none;
}

body.darinov-video-modal-open {
  overflow: hidden;
}

.darinov-synthesia-frame {
  position: relative;
  overflow: hidden;
  width: min(1066px, calc(100vw - 32px), calc((100vh - 96px) * 16 / 9));
  max-height: calc(100vh - 96px);
  aspect-ratio: 1920 / 1080;
  margin: 0 auto;
  background: #000;
  border-radius: 22px;
}

.darinov-synthesia-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  max-height: none !important;
  border: 0;
  padding: 0;
  margin: 0;
}

@media (max-width: 767px) {
  .darinov-video-modal {
    padding: 38px 8px;
  }

  .darinov-video-modal__close,
  .swal2-container.darinov-synthesia-overlay .swal2-popup .jkit-swal-closeButton,
  .swal2-container.darinov-synthesia-overlay .swal2-popup .swal2-close {
    top: 10px !important;
    right: 10px !important;
  }

  .darinov-synthesia-frame {
    width: min(calc(100vw - 16px), calc((100vh - 76px) * 16 / 9));
    max-height: calc(100vh - 76px);
    border-radius: 16px;
  }
}

.darinov-home-projects {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.darinov-home-projects__toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.darinov-home-projects__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.darinov-home-projects__filter {
  appearance: none;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  background: transparent !important;
  color: #9e6726 !important;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  min-height: 0;
  padding: 0 0 4px !important;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.darinov-home-projects__filter:hover,
.darinov-home-projects__filter:focus-visible {
  color: #fdbb7a !important;
  outline: none;
  opacity: 1;
}

.darinov-home-projects__filter.is-active {
  color: #9e6726 !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.darinov-home-projects__filter.is-active:hover,
.darinov-home-projects__filter.is-active:focus-visible {
  color: #fdbb7a !important;
}

.darinov-home-projects__count,
.darinov-home-projects__message,
.darinov-home-projects__error {
  margin: 0;
}

.darinov-home-projects__count {
  color: #6f5a46;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

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

.darinov-home-projects__card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
  background: #efe8df;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 24px 48px rgba(37, 24, 10, 0.08);
  isolation: isolate;
}

.darinov-home-projects__card.is-hidden {
  display: none !important;
}

.darinov-home-projects__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.darinov-home-projects__card::before {
  content: attr(data-type-label);
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  max-width: calc(100% - 28px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.darinov-home-projects__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(24, 15, 7, 0.04) 18%, rgba(24, 15, 7, 0.18) 54%, rgba(24, 15, 7, 0.58) 100%);
  transition: opacity 0.3s ease;
}

.darinov-home-projects__card:hover .darinov-home-projects__image,
.darinov-home-projects__card:focus-visible .darinov-home-projects__image {
  transform: scale(1.04);
}

.darinov-home-projects__content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 18px 16px;
}

.darinov-home-projects__title,
.darinov-home-projects__summary {
  margin: 0;
  color: #fff;
}

.darinov-home-projects__title {
  max-width: 14ch;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.24);
}

.darinov-home-projects__summary {
  max-width: 24ch;
  font-size: 14px;
  line-height: 1.35;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.darinov-home-projects__footer {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.darinov-home-projects__all {
  color: #9e6726;
}

.darinov-home-projects__all:hover,
.darinov-home-projects__all:focus-visible {
  color: #6d4518;
  outline: none;
}

.darinov-home-projects__message,
.darinov-home-projects__error {
  color: #6f5a46;
  font-size: 15px;
}

.darinov-home-projects__error {
  color: #8a2f2f;
}

@media (max-width: 1200px) {
  .darinov-home-projects__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .darinov-home-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .darinov-home-projects__title {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .darinov-home-projects__filters {
    gap: 14px;
  }

  .darinov-home-projects__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .darinov-home-projects__card {
    aspect-ratio: 5 / 4;
    border-radius: 20px;
  }

  .darinov-home-projects__content {
    gap: 6px;
    padding: 16px;
  }

  .darinov-home-projects__title {
    font-size: 19px;
  }

  .darinov-home-projects__summary {
    max-width: 22ch;
    font-size: 13px;
  }
}

.elementor-element-74370cff {
  position: relative;
  overflow: hidden;
  background: #ffffff !important;
}

.elementor-element-74370cff > .elementor-background-overlay {
  opacity: 0.03 !important;
}

.elementor-element-74370cff .elementor-element-71010ca6 > .elementor-widget-wrap,
.elementor-element-74370cff .elementor-element-71010ca6 > .elementor-widget-wrap > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: #ffffff !important;
}

.elementor-element-74370cff .elementor-element-71010ca6 > .elementor-element-populated > .elementor-background-overlay {
  background: #ffffff !important;
  opacity: 0.72 !important;
}

.elementor-element-74370cff .elementor-container,
.elementor-element-74370cff .elementor-column,
.elementor-element-74370cff .elementor-widget-wrap,
.elementor-element-74370cff .elementor-widget {
  position: relative;
  z-index: 1;
}

.elementor-element-74370cff .elementor-element-78e119a8 .elementor-heading-title {
  color: #000000 !important;
  font-family: var(--e-global-typography-secondary-font-family), Sans-serif !important;
  font-size: var(--e-global-typography-secondary-font-size) !important;
  font-weight: var(--e-global-typography-secondary-font-weight) !important;
  line-height: var(--e-global-typography-secondary-line-height) !important;
  letter-spacing: normal !important;
}

.darinov-home-testimonials {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.darinov-home-testimonials__header {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
}

.darinov-home-testimonials__nav {
  display: inline-flex;
  gap: 10px;
}

.darinov-home-testimonials__nav button {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(158, 103, 38, 0.22) !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #9e6726 !important;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(48, 27, 8, 0.08);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.darinov-home-testimonials__nav button:hover,
.darinov-home-testimonials__nav button:focus-visible {
  color: #9e6726 !important;
  border-color: rgba(192, 132, 61, 0.68) !important;
  background: #fff7ee !important;
  transform: translateY(-1px);
  outline: none;
}

.darinov-home-testimonials__nav svg {
  width: 16px;
  height: 16px;
  display: block;
  margin: 0 auto;
  fill: currentColor;
}

.darinov-home-testimonials__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  scrollbar-width: none;
}

.darinov-home-testimonials__track::-webkit-scrollbar {
  display: none;
}

.darinov-home-testimonials__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(109, 69, 24, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 246, 0.98));
  box-shadow: 0 22px 56px rgba(48, 27, 8, 0.12);
  scroll-snap-align: start;
}

.darinov-home-testimonials__card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.darinov-home-testimonials__person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.darinov-home-testimonials__avatar,
.darinov-home-testimonials__avatar-fallback {
  width: 52px;
  height: 52px;
  min-width: 52px;
  max-width: 52px;
  min-height: 52px;
  max-height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

.darinov-home-testimonials__avatar {
  display: block;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 1 / 1;
  box-shadow: 0 10px 24px rgba(27, 12, 1, 0.14);
}

.darinov-home-testimonials__avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e7c49c, #9e6726);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(27, 12, 1, 0.14);
}

.darinov-home-testimonials__identity {
  min-width: 0;
}

.darinov-home-testimonials__identity strong {
  display: block;
  color: #2f2114;
  font-size: 16px;
  line-height: 1.2;
}

.darinov-home-testimonials__identity span {
  display: block;
  margin-top: 2px;
  color: #725f4d;
  font-size: 12px;
  line-height: 1.4;
}

.darinov-home-testimonials__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(32, 17, 0, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
}

.darinov-home-testimonials__badge img {
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 6px;
}

.darinov-home-testimonials__badge span {
  color: #725f4d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.darinov-home-testimonials__stars {
  color: #f4b400;
  font-size: 18px;
  letter-spacing: 0.1em;
}

.darinov-home-testimonials__card p {
  margin: 0;
}

.darinov-home-testimonials__copy {
  color: #2f2114;
  font-size: 14px;
  line-height: 1.65;
}

.darinov-home-testimonials__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.darinov-home-testimonials__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f6eee3;
  color: #9e6726;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (max-width: 1180px) {
  .darinov-home-testimonials__track {
    grid-auto-columns: calc((100% - 22px) / 2);
  }
}

@media (max-width: 900px) {
  .darinov-home-testimonials__nav {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .darinov-home-testimonials__track {
    grid-auto-columns: 88%;
  }

  .darinov-home-testimonials__card {
    padding: 18px;
  }

  .darinov-home-testimonials__card-head {
    flex-direction: column;
  }

  .darinov-home-testimonials__badge {
    align-self: flex-start;
  }
}

.elementor-97 .elementor-element.elementor-element-14e20ce3:not(.elementor-motion-effects-element-type-background),
.elementor-97 .elementor-element.elementor-element-14e20ce3 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-152 .elementor-element.elementor-element-248d5a71:not(.elementor-motion-effects-element-type-background),
.elementor-152 .elementor-element.elementor-element-248d5a71 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-142 .elementor-element.elementor-element-5350780b:not(.elementor-motion-effects-element-type-background),
.elementor-142 .elementor-element.elementor-element-5350780b > .elementor-motion-effects-container > .elementor-motion-effects-layer,
.elementor-178 .elementor-element.elementor-element-25034050:not(.elementor-motion-effects-element-type-background),
.elementor-178 .elementor-element.elementor-element-25034050 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("cta/bckg.webp") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.elementor-97 .elementor-element.elementor-element-14e20ce3 > .elementor-background-overlay,
.elementor-152 .elementor-element.elementor-element-248d5a71 > .elementor-background-overlay,
.elementor-142 .elementor-element.elementor-element-5350780b > .elementor-background-overlay,
.elementor-178 .elementor-element.elementor-element-25034050 > .elementor-background-overlay {
  background-color: #1c130b !important;
  opacity: 0.58 !important;
}

/* SEO helper blocks inserted before the footer: keep charter spacing and readability. */
section.darinov-seo-block {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 72px !important;
}

section.darinov-seo-block .elementor-widget-text-editor .elementor-widget-container {
  max-width: 980px;
}

section.darinov-seo-block .elementor-widget-text-editor ul {
  margin-top: 14px;
}

@media (max-width: 1024px) {
  section.darinov-seo-block {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 56px !important;
  }
}

@media (max-width: 767px) {
  section.darinov-seo-block {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 40px !important;
  }
}

:root {
  --darinov-header-bg: rgb(32, 17, 0);
  --darinov-header-bg-soft: rgb(32, 17, 0);
  --darinov-logo-max-h: 60px;
}

.elementor-location-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1200 !important;
}

.elementor-location-header [data-id="c8f8999"] {
  background-color: var(--darinov-header-bg) !important;
  overflow: hidden !important;
  max-height: 140px;
  opacity: 1;
  transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.2s ease, margin 0.2s ease;
}

.elementor-location-header [data-id="637aa8a0"] .elementor-icon-list-icon i {
  color: #fff !important;
}

.elementor-location-header [data-id="637aa8a0"] .elementor-icon-list-icon svg {
  fill: #fff !important;
  width: 1em !important;
  height: 1em !important;
  display: inline-block !important;
}

.elementor-location-header [data-id="2924a609"] .elementor-icon-list-text {
  color: #fff !important;
}

.elementor-location-header [data-id="6fa3de43"] {
  position: sticky !important;
  top: 0 !important;
  z-index: 1201 !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  background-color: var(--darinov-header-bg) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
  transition: none !important;
  transform: none !important;
}

.elementor-location-header [data-id="6fa3de43"].hide-sticky {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.elementor-location-header [data-id="b70bc94"] {
  background-color: var(--darinov-header-bg) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transition: none !important;
  opacity: 1 !important;
}

.elementor-location-header [data-id="b70bc94"]::before {
  background-color: var(--darinov-header-bg) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  opacity: 1 !important;
}

.elementor-location-header [data-id="2a79f8bd"] .elementor-widget-container {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  flex: 0 0 auto !important;
  justify-content: flex-start !important;
  overflow: visible !important;
}

.elementor-location-header [data-id="59737c2a"],
.elementor-location-header [data-id="59737c2a"] .elementor-widget-wrap,
.elementor-location-header [data-id="2a79f8bd"] {
  overflow: visible !important;
}

.elementor-location-header [data-id="2a79f8bd"] .elementor-widget-container img,
.elementor-location-header [data-id="1cf447d5"] .jkit-nav-site-title .jkit-nav-logo img {
  object-fit: contain !important;
  max-height: var(--darinov-logo-max-h) !important;
  height: auto !important;
  width: auto !important;
  max-width: 190px !important;
}

.elementor-location-header [data-id="1cf447d5"] .jkit-nav-site-title .jkit-nav-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
}

.elementor-location-header .darinov-desktop-brand-link,
.elementor-location-header .darinov-menu-brand-link,
.elementor-location-header [data-id="1cf447d5"] .jkit-nav-site-title .jkit-nav-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  max-width: fit-content !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  padding: 4px 0.35em 4px 0 !important;
  text-decoration: none !important;
}

.elementor-location-header .darinov-brand-text {
  font-family: "Gantai", Heebo, Lato, sans-serif !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  letter-spacing: 0.15em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  padding-right: 0.1em !important;
}

.elementor-location-header [data-id="2a79f8bd"] .elementor-widget-container .darinov-brand-text,
.elementor-location-header [data-id="1cf447d5"] .jkit-nav-site-title .jkit-nav-logo .darinov-brand-text {
  color: #fdbb7a !important;
}

.elementor-location-header [data-id="1cf447d5"] .jkit-hamburger-menu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

@media (min-width: 1025px) {
  .elementor-location-header [data-id="b70bc94"] > .elementor-container {
    display: flex !important;
    align-items: center !important;
    width: min(1170px, calc(100% - 30px)) !important;
    max-width: 1170px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .elementor-location-header [data-id="59737c2a"] {
    width: 30% !important;
    flex: 0 0 30% !important;
  }

  .elementor-location-header [data-id="7cad5f45"] {
    width: 55% !important;
    flex: 0 0 55% !important;
    min-width: 0 !important;
    position: relative !important;
    z-index: 3 !important;
  }

  .elementor-location-header [data-id="4883f62d"] {
    width: 15% !important;
    flex: 0 0 15% !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .elementor-location-header .darinov-desktop-brand-link {
    margin-left: -8px !important;
  }

  .elementor-location-header [data-id="4883f62d"] .elementor-widget-wrap,
  .elementor-location-header [data-id="df0a56b"] .elementor-widget-container,
  .elementor-location-header [data-id="df0a56b"] .elementor-button-wrapper {
    display: flex !important;
    justify-content: flex-end !important;
  }

  .elementor-location-header [data-id="1cf447d5"] .jkit-menu > li > a {
    white-space: nowrap !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    font-size: 13px !important;
  }

  .elementor-location-header [data-id="1cf447d5"] .jkit-menu {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
  }

  .elementor-location-header [data-id="df0a56b"] .elementor-button {
    width: 170px !important;
    min-width: 170px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    white-space: nowrap !important;
    /* Aligne le CTA sur le bord du conteneur de 1170 px et préserve
       une séparation lisible avec le chevron du guide. */
    transform: translateX(16px) !important;
  }

  .elementor-location-header [data-id="1cf447d5"],
  .elementor-location-header [data-id="1cf447d5"] .elementor-widget-container,
  .elementor-location-header [data-id="1cf447d5"] .jeg-elementor-kit,
  .elementor-location-header [data-id="1cf447d5"] .jkit-nav-menu,
  .elementor-location-header [data-id="1cf447d5"] .jkit-menu-wrapper,
  .elementor-location-header [data-id="1cf447d5"] .jkit-menu-container {
    position: relative !important;
    z-index: 3 !important;
    overflow: visible !important;
  }

  .elementor-location-header.darinov-header-compact [data-id="c8f8999"] {
    display: none !important;
    max-height: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: 0 !important;
    pointer-events: none !important;
  }

  .elementor-location-header.darinov-header-compact [data-id="c8f8999"] .elementor-container {
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .elementor-location-header.darinov-header-compact [data-id="6fa3de43"] {
    top: 0 !important;
    margin-top: 0 !important;
  }
}

#content {
  scroll-margin-top: 150px;
}

@media (max-width: 1024px) {
  #content { scroll-margin-top: 160px; }
}

@media (max-width: 767px) {
  #content { scroll-margin-top: 125px; }
}

@media (max-width: 1024px) {
  .elementor-location-header [data-id="1cf447d5"] .jkit-hamburger-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .elementor-location-header [data-id="1cf447d5"] .jkit-nav-identity-panel .jkit-nav-site-title .jkit-nav-logo .darinov-brand-text {
    color: #4d260a !important;
  }

  .elementor-location-header [data-id="6fa3de43"] {
    top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767px) {
  .elementor-location-footer .elementor-element.elementor-element-67a297f img {
    width: auto !important;
    max-width: 140px !important;
    max-height: 48px !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* Services page: force card 1 to match cards 2/3 behavior */
.elementor-152 .elementor-element.elementor-element-25d0c39b .jeg-elementor-kit.jkit-icon-box .jkit-icon-box-wrapper {
  background-color: #ffffff !important;
  text-align: left !important;
  padding: 40px 40px 0 40px !important;
  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.1) !important;
}

.elementor-152 .elementor-element.elementor-element-25d0c39b .jeg-elementor-kit.jkit-icon-box:hover .jkit-icon-box-wrapper {
  background-color: var(--e-global-color-accent) !important;
  padding: 0 40px 40px 40px !important;
}

.elementor-152 .elementor-element.elementor-element-25d0c39b .jeg-elementor-kit.jkit-icon-box .title {
  color: var(--e-global-color-primary) !important;
}

.elementor-152 .elementor-element.elementor-element-25d0c39b .jeg-elementor-kit.jkit-icon-box .icon-box.icon-box-body .icon-box-description {
  color: var(--e-global-color-text) !important;
}

.elementor-152 .elementor-element.elementor-element-25d0c39b .jeg-elementor-kit.jkit-icon-box:hover .title,
.elementor-152 .elementor-element.elementor-element-25d0c39b .jeg-elementor-kit.jkit-icon-box:hover .icon-box.icon-box-body .icon-box-description {
  color: #ffffff !important;
}

.elementor-152 .elementor-element.elementor-element-25d0c39b .jeg-elementor-kit.jkit-icon-box .icon-box > .icon {
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  width: 60px !important;
  color: #9e6726 !important;
}

.elementor-152 .elementor-element.elementor-element-25d0c39b .jeg-elementor-kit.jkit-icon-box .icon-box > .icon svg,
.elementor-152 .elementor-element.elementor-element-25d0c39b .jeg-elementor-kit.jkit-icon-box .icon-box > .icon img {
  width: 40px !important;
}

.elementor-location-header .jkit-menu > li.darinov-menu-has-mega {
  position: relative;
}

.elementor-location-header .jkit-menu > li.darinov-menu-has-mega > .sub-menu {
  width: min(1040px, calc(100vw - 72px));
  min-width: 920px;
  max-width: 1040px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 18px;
  background: #fff;
  border: 1px solid rgba(77, 38, 10, 0.12);
  box-shadow: 0 22px 48px rgba(31, 19, 7, 0.18);
  border-radius: 0;
  left: 50%;
  right: auto;
  transform: translateX(-38%);
  align-items: start;
}

/* Le menu Guide est proche du bord droit du header : son panneau s'aligne
   sur ce bord au lieu de créer un débordement horizontal à 1366 px. */
.elementor-location-header .jkit-menu > li.darinov-menu-guide > .sub-menu {
  left: auto !important;
  right: 0 !important;
  transform: none !important;
}

.elementor-location-header .jkit-menu > li.darinov-menu-has-mega > .sub-menu > .darinov-submenu-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 18px 18px;
  margin: 0;
  background: #fffdf9;
  border: 1px solid rgba(77, 38, 10, 0.08);
}

.elementor-location-header .darinov-submenu-heading {
  display: block;
  margin: 0 0 12px;
  color: #6f4519 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.elementor-location-header .darinov-submenu-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.elementor-location-header .darinov-submenu-links > li {
  margin: 0;
}

.elementor-location-header .darinov-submenu-links > li > a {
  display: block;
  padding: 9px 0;
  color: #201100 !important;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
}

.elementor-location-header .darinov-submenu-links > li > a:hover,
.elementor-location-header .darinov-submenu-links > li.current-menu-item > a {
  color: #9e6726 !important;
}

.darinov-related-links {
  padding: 0 24px 48px;
}

.darinov-related-links__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 32px;
  background: linear-gradient(180deg, #fbf7f0 0%, #f5eee2 100%);
  border: 1px solid rgba(77, 38, 10, 0.08);
}

.darinov-related-links__kicker {
  margin: 0 0 10px;
  color: #9e6726;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.darinov-related-links__inner h2 {
  margin: 0 0 18px;
  color: #201100;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
}

.darinov-related-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.darinov-related-links__list a {
  display: block;
  min-height: 100%;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid rgba(77, 38, 10, 0.08);
  color: #201100;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.darinov-related-links__list a:hover,
.darinov-related-links__list a:focus-visible {
  color: #9e6726;
  border-color: rgba(158, 103, 38, 0.35);
  transform: translateY(-1px);
}

.darinov-global-footer {
  background: #201100;
  color: #f8efe2;
  padding: 56px 24px 24px;
}

.darinov-global-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 0.58fr) minmax(0, 2.42fr);
  gap: 40px;
}

.darinov-footer-brand p {
  margin: 18px 0 0;
  color: rgba(248, 239, 226, 0.86);
  line-height: 1.65;
}

.darinov-footer-logo {
  display: inline-flex;
  align-items: center;
}

.darinov-footer-logo img {
  width: auto;
  max-width: 180px;
  height: auto;
}

.darinov-footer-contact-cards {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.darinov-footer-contact-cards a {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 11px;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(253, 187, 122, 0.28);
  color: #fff;
  text-decoration: none;
  width: 100%;
  max-width: 280px;
}

.darinov-footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #fdbb7a;
}

.darinov-footer-contact-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.darinov-footer-contact-cards a:hover,
.darinov-footer-contact-cards a:focus-visible {
  color: #fdbb7a;
  border-color: rgba(253, 187, 122, 0.5);
}

.darinov-footer-groups {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 24px;
}

.darinov-footer-col h3 {
  margin: 0 0 16px;
  color: #fdbb7a;
  font-size: 15px;
  line-height: 1.3;
}

.darinov-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.darinov-footer-links li + li {
  margin-top: 9px;
}

.darinov-footer-links a {
  color: rgba(248, 239, 226, 0.9);
  text-decoration: none;
  line-height: 1.45;
}

.darinov-footer-links a:hover,
.darinov-footer-links a:focus-visible {
  color: #fdbb7a;
}

.darinov-global-footer__bottom {
  max-width: 1180px;
  margin: 26px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(248, 239, 226, 0.12);
}

.darinov-global-footer__bottom p {
  margin: 0;
  color: rgba(248, 239, 226, 0.72);
  font-size: 13px;
}

@media (max-width: 1200px) {
  .elementor-location-header .jkit-menu > li.darinov-menu-has-mega > .sub-menu {
    width: min(960px, calc(100vw - 56px));
    min-width: 760px;
    transform: translateX(-34%);
  }

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

@media (min-width: 1025px) {
  .elementor-location-header .jkit-menu > li.darinov-menu-guide > .sub-menu {
    left: auto;
    right: 0;
    width: 430px;
    min-width: 430px;
    grid-template-columns: 1fr;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .elementor-location-header .jkit-menu > li.darinov-menu-has-mega > .sub-menu {
    min-width: 0;
    width: 100%;
    display: block;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
    left: auto;
  }

  .elementor-location-header .darinov-submenu-group {
    padding: 12px 0 0;
    background: transparent;
    border: 0;
  }

  .elementor-location-header .darinov-submenu-heading {
    color: #8a5d2d;
  }

  .elementor-location-header .darinov-submenu-links > li > a {
    padding: 9px 0;
  }

  .darinov-global-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .darinov-related-links {
    padding: 0 16px 36px;
  }

  .darinov-related-links__inner {
    padding: 22px 20px;
  }

  .darinov-global-footer {
    padding: 44px 16px 22px;
  }

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

  .darinov-footer-contact-cards a {
    max-width: none;
  }
}
