:root {
  --bg: #0a0d10;
  --bg-soft: #121820;
  --panel: #151d27;
  --panel-2: #1a2430;
  --text: #ecf3fb;
  --muted: #94a6b8;
  --accent: #ff2f4d;
  --accent-2: #2f8cff;
  --accent-3: #46c61e;
  --active-pill-bg: rgba(255, 47, 77, 0.16);
  --line: #263241;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: min(1120px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(75% 120% at 10% 0%, rgba(194, 29, 52, 0.28), transparent 50%),
    radial-gradient(90% 110% at 95% 10%, rgba(39, 95, 178, 0.28), transparent 54%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}

body.admin-bar .anchor-menu-wrap,
body.admin-bar .dubois-anchor-menu {
  top: calc(0.3rem + 32px);
}

body.elementor-page,
body.page-template-templates-elementor-landing {
  background:
    radial-gradient(75% 120% at 10% 0%, rgba(194, 29, 52, 0.28), transparent 50%),
    radial-gradient(90% 110% at 95% 10%, rgba(39, 95, 178, 0.28), transparent 54%),
    var(--bg);
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.site-main {
  position: relative;
  z-index: 1;
}

.site-main--default {
  width: var(--container);
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.site-article {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(22, 29, 38, 0.86), rgba(14, 18, 24, 0.84));
  box-shadow: var(--shadow);
}

.site-article__title {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.site-article__content {
  color: var(--muted);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.1rem 0 2rem;
}

.site-footer__inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #8ba0b4;
  font-size: 0.9rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bg-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.bg-glow--left {
  top: -220px;
  left: -120px;
  background: #ff2f4d;
}

.bg-glow--right {
  right: -120px;
  bottom: -220px;
  background: #2f8cff;
}

.hero,
.anchor-menu-wrap,
main,
.contact,
.footer,
.elementor {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 1.2rem 0 4.5rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 18, 24, 0.74);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.brand__logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff, #eef4ff);
  border: 1px solid rgba(186, 202, 233, 0.8);
  border-radius: 11px;
  padding: 0.3rem 0.48rem;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.brand__logo {
  display: block;
  height: 1.75rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.16));
}

.brand__text {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.brand__kicker {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--text);
}

.brand__main {
  font-size: 0.83rem;
  color: var(--muted);
}

.hero__content {
  margin-top: 2.7rem;
  max-width: 860px;
}

.hero__eyebrow,
.contact__eyebrow {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ff8b9d;
}

h1,
h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.015em;
  line-height: 1.02;
}

h1 {
  margin-top: 0.8rem;
  font-size: clamp(2.2rem, 6vw, 4.9rem);
}

.hero__lead {
  margin: 1rem 0 0;
  max-width: 720px;
  font-size: 1.04rem;
  color: var(--muted);
}

.hero__actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border-radius: 999px;
  padding: 0 1.1rem;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #ffffff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.btn--ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(20, 28, 39, 0.65);
}

.btn--block {
  width: 100%;
}

.anchor-menu-wrap {
  position: sticky;
  top: 0.3rem;
  z-index: 12;
  padding-bottom: 1rem;
}

.dubois-section {
  position: relative;
  z-index: 1;
}

.dubois-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(22, 29, 38, 0.86), rgba(14, 18, 24, 0.84));
  box-shadow: var(--shadow);
}

.dubois-panel--highlight {
  background:
    linear-gradient(135deg, rgba(26, 20, 30, 0.95), rgba(16, 21, 26, 0.9)),
    radial-gradient(70% 70% at 100% 0%, rgba(255, 47, 77, 0.2), transparent 70%);
}

.dubois-hero {
  padding: 1.2rem 0 4.5rem;
}

.dubois-topbar {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(27, 35, 46, 0.96), rgba(18, 24, 32, 0.92));
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.dubois-topbar .brand {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
}

.dubois-topbar .brand__kicker {
  color: #ffffff;
}

.dubois-topbar .brand__main {
  color: #dce9f6;
}

.dubois-anchor-menu {
  position: sticky;
  top: 0.3rem;
  z-index: 12;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 14, 20, 0.8);
  backdrop-filter: blur(8px);
}

.dubois-kicker,
.dubois-label {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ff8b9d;
}

.dubois-title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.015em;
  line-height: 1.02;
  font-size: clamp(2.2rem, 6vw, 4.9rem);
}

.dubois-subtitle {
  color: var(--muted);
}

.dubois-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.74rem;
  color: #b3c8de;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.24rem 0.55rem;
}

.dubois-soft-text,
.dubois-soft-text .elementor-heading-title,
.dubois-soft-text .elementor-widget-container,
.dubois-soft-text p,
.dubois-soft-text li {
  color: var(--muted);
}

.dubois-btn-primary .elementor-button,
.dubois-btn-primary.elementor-button,
.wp-block-button.is-style-fill .wp-block-button__link {
  color: #ffffff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
}

.dubois-btn-ghost .elementor-button,
.dubois-btn-ghost.elementor-button {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(20, 28, 39, 0.65);
  border-radius: 999px;
  font-weight: 700;
}

.dubois-carousel .swiper,
.dubois-carousel .elementor-image-carousel-wrapper,
.dubois-carousel .slick-slider {
  border-radius: var(--radius-md);
}

.dubois-carousel img,
.dubois-carousel .swiper-slide-image {
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.dubois-carousel-native {
  margin-top: 0.5rem;
}

.dubois-carousel-native .elementor-image-carousel-wrapper,
.dubois-carousel-native .swiper,
.dubois-carousel-native .swiper-container {
  position: relative;
  padding-inline: 2.45rem;
}

.dubois-carousel-native .elementor-swiper-button {
  width: 2rem;
  height: 2rem;
  margin-top: 0;
  top: calc(50% - 1rem);
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(9, 13, 18, 0.85);
}

.dubois-carousel-native .elementor-swiper-button-prev {
  left: 0.4rem;
}

.dubois-carousel-native .elementor-swiper-button-next {
  right: 0.4rem;
}

.dubois-carousel-native .swiper-slide {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--panel-2);
}

.dubois-carousel-native .swiper-slide-image,
.dubois-carousel-native .swiper-slide figure,
.dubois-carousel-native .swiper-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.dubois-contact-panel {
  padding: 1rem;
}

.dubois-contact-panel p {
  margin: 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.dubois-contact-panel p:last-of-type {
  margin-bottom: 0.9rem;
}

.dubois-note {
  font-size: 0.9rem;
  color: #8ba0b4;
}

.anchor-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 14, 20, 0.8);
  backdrop-filter: blur(8px);
}

.anchor-menu a {
  white-space: nowrap;
  padding: 0.48rem 0.86rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.anchor-menu a:hover,
.anchor-menu a:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.anchor-menu a.is-active {
  color: var(--text);
  border-color: var(--accent);
  background: var(--active-pill-bg);
}

main {
  padding-bottom: 4rem;
}

.intro-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intro-card {
  padding: 1.35rem 1.35rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(23, 32, 44, 0.82), rgba(11, 16, 22, 0.84));
  box-shadow: var(--shadow);
}

.intro-card h2 {
  margin-top: 0.48rem;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.intro-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.intro-card__label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.74rem;
  color: #b3c8de;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.24rem 0.55rem;
}

.intro-card--highlight {
  background:
    linear-gradient(135deg, rgba(26, 20, 30, 0.95), rgba(16, 21, 26, 0.9)),
    radial-gradient(70% 70% at 100% 0%, rgba(255, 47, 77, 0.2), transparent 70%);
}

#sections-root {
  margin-top: 1.2rem;
  display: grid;
  gap: 1.15rem;
}

.chantier {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  background: linear-gradient(145deg, rgba(22, 29, 38, 0.86), rgba(14, 18, 24, 0.84));
  box-shadow: var(--shadow);
}

.chantier__head {
  margin-bottom: 0.85rem;
}

.chantier__badge {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8bc1ff;
}

.chantier h2 {
  margin-top: 0.3rem;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.chantier__desc {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 840px;
}

.carousel {
  position: relative;
  border-radius: var(--radius-md);
}

.carousel::before,
.carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.45rem;
  pointer-events: none;
  z-index: 1;
}

.carousel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(15, 20, 26, 0.97), rgba(15, 20, 26, 0));
}

.carousel::after {
  right: 0;
  background: linear-gradient(270deg, rgba(15, 20, 26, 0.97), rgba(15, 20, 26, 0));
}

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (3 * 0.6rem)) / 4);
  gap: 0.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  padding: 0.2rem 2.45rem;
  scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--panel-2);
  scroll-snap-align: start;
}

.carousel__item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.carousel__item figcaption {
  padding: 0.44rem 0.6rem 0.52rem;
  color: #a6bdd4;
  font-size: 0.74rem;
  border-top: 1px solid var(--line);
}

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(9, 13, 18, 0.85);
  cursor: pointer;
}

.carousel__nav[data-direction="-1"] {
  left: 0.4rem;
}

.carousel__nav[data-direction="1"] {
  right: 0.4rem;
}

.contact {
  margin-top: 0.5rem;
  padding: 2.3rem 0 3rem;
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.contact h2 {
  margin-top: 0.55rem;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.contact p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.contact__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(16, 24, 32, 0.9);
  padding: 1rem;
}

.contact__line {
  margin: 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.contact__line:last-of-type {
  margin-bottom: 0.9rem;
}

.footer {
  padding: 1.1rem 0 2rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #8ba0b4;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .intro-grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .carousel__track {
    grid-auto-columns: calc((100% - (2 * 0.6rem)) / 3);
  }
}

@media (max-width: 680px) {
  body.admin-bar .anchor-menu-wrap,
  body.admin-bar .dubois-anchor-menu {
    top: calc(0.3rem + 46px);
  }

  .topbar {
    border-radius: var(--radius-lg);
    padding: 0.65rem 0.75rem;
  }

  .dubois-topbar,
  .dubois-anchor-menu {
    border-radius: var(--radius-lg);
  }

  .hero {
    padding-top: 0.8rem;
  }

  .brand__logo {
    height: 1.45rem;
  }

  .brand__logo-shell {
    padding: 0.2rem 0.3rem;
  }

  .brand__main {
    display: none;
  }

  .carousel__track {
    grid-auto-columns: calc((100% - 0.6rem) / 2);
  }

  .carousel__nav {
    width: 1.8rem;
    height: 1.8rem;
  }

  .dubois-carousel-native .elementor-swiper-button {
    width: 1.8rem;
    height: 1.8rem;
    top: calc(50% - 0.9rem);
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
