/* Service-page redesign: editorial chantier system, 2026-08-23. */
:root {
  --service-ink: #101c3d;
  --service-ink-soft: #53627c;
  --service-line: #dce4ee;
  --service-paper: #f6f8fb;
  --service-white: #ffffff;
  --service-coral: #ef5b49;
}

/* Guarantees are promises, not steps: remove decorative numbering. */
.guarantees-strip.guarantees-strip {
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: transparent !important;
  border-top: 1px solid var(--service-line);
  border-bottom: 1px solid var(--service-line);
  border-radius: 0 !important;
  box-shadow: none !important;
}

.guarantees-strip .guarantee-item.guarantee-item {
  position: relative;
  justify-content: center;
  align-items: flex-start !important;
  min-height: 94px;
  padding: 1.25rem 1rem 1.25rem 2.7rem;
  text-align: left !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.guarantees-strip .guarantee-item + .guarantee-item {
  border-left: 1px solid var(--service-line) !important;
}

.guarantees-strip .guarantee-num.guarantee-num {
  display: none !important;
}

.guarantees-strip .guarantee-item > span:not(.guarantee-num) {
  color: var(--service-ink) !important;
  font-size: .76rem !important;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .055em !important;
}

.guarantees-strip .guarantee-item::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 50%;
  display: grid;
  width: 1.2rem;
  height: 1.2rem;
  place-items: center;
  color: var(--service-white);
  background: var(--service-coral);
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
  transform: translateY(-50%);
}

/* A real sequence: retain numbers and turn the cards into a construction rail. */
.section-process .process-timeline.process-timeline {
  gap: 0 3rem !important;
}

.section-process .process-step.process-step {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1rem !important;
  align-items: start;
  padding: 1.65rem 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .2) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.section-process .process-step-num.process-step-num {
  position: relative;
  color: var(--service-coral) !important;
  font-size: 1.7rem !important;
  line-height: 1 !important;
}

.section-process .process-step-num::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-top: .7rem;
  background: var(--service-coral);
}

.section-process .process-step:hover .process-step-num {
  color: #ffffff !important;
}

.section-process .process-step-content h3 {
  margin: 0 0 .45rem !important;
  font-size: 1.18rem !important;
  line-height: 1.3;
}

.section-process .process-step-content p {
  max-width: 58ch;
  color: rgba(255, 255, 255, .72) !important;
}

/* Materials become an editorial specification sheet. */
.section-materials .materials-list.materials-list {
  border-top: 2px solid var(--service-ink) !important;
}

.section-materials .material-item.material-item {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1rem !important;
  align-items: center;
  padding: 1.15rem 1rem 1.15rem .9rem !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--service-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.section-materials .material-num.material-num {
  display: block;
  width: 100%;
  padding-right: 1rem;
  color: var(--service-coral) !important;
  border-right: 1px solid rgba(239, 91, 73, .45);
  font-size: .9rem !important;
  font-variant-numeric: tabular-nums;
}

.section-materials .material-text.material-text {
  color: #394861 !important;
}

.section-pricing .pricing-value {
  white-space: nowrap;
}

/* The large city mesh is navigable by department instead of becoming a link wall. */
.section-mesh.section-mesh {
  padding: clamp(3.5rem, 7vw, 6rem) 0 !important;
  background: var(--service-paper) !important;
  border-top: 1px solid var(--service-line);
}

.section-mesh > .container {
  max-width: 1180px;
}

.section-mesh > .container > h2 {
  max-width: 20ch;
  margin: 0 0 .8rem;
  color: var(--service-ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.section-mesh > .container > p {
  max-width: 760px;
  margin: 0 0 2.5rem;
  color: var(--service-ink-soft);
  line-height: 1.7;
}

.mesh-department {
  margin: 0;
  background: var(--service-white);
  border-top: 1px solid var(--service-line);
}

.mesh-department:last-child {
  border-bottom: 1px solid var(--service-line);
}

.mesh-department summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 28px;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 1.25rem;
  color: var(--service-ink);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
}

.mesh-department summary::-webkit-details-marker {
  display: none;
}

.mesh-department summary::after {
  content: "+";
  color: var(--service-coral);
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.mesh-department[open] summary::after {
  content: "−";
}

.mesh-count {
  color: #7a879a;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mesh-department .mesh-city-list.mesh-city-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 1.5rem !important;
  margin: 0;
  padding: .25rem 1.25rem 1.5rem !important;
  list-style: none;
}

.mesh-department .mesh-city-list li {
  margin: 0;
  border-top: 1px solid #edf1f5;
}

.mesh-department .mesh-city-list a {
  display: block !important;
  min-height: 0 !important;
  padding: .75rem .15rem !important;
  color: #34435d !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: .84rem;
  line-height: 1.4;
  text-decoration: none;
  transform: none !important;
}

.mesh-department .mesh-city-list a::after {
  content: none !important;
}

.mesh-department .mesh-city-list a:hover {
  color: var(--service-coral) !important;
  padding-left: .45rem !important;
}

.mesh-department summary:focus-visible,
.mesh-department .mesh-city-list a:focus-visible {
  outline: 3px solid var(--service-coral);
  outline-offset: -3px;
}

@media (max-width: 767px) {
  .section-materials .materials-header {
    position: static !important;
  }

  .guarantees-strip .guarantee-item.guarantee-item {
    min-height: 82px;
    padding: 1rem .8rem 1rem 2.45rem;
  }

  .guarantees-strip .guarantee-item:nth-child(3) {
    border-left: 0 !important;
  }

  .guarantees-strip .guarantee-item:nth-child(n + 3) {
    border-top: 1px solid var(--service-line) !important;
  }

  .section-process .process-timeline.process-timeline {
    grid-template-columns: 1fr !important;
  }

  .section-process .process-step.process-step {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 1.35rem 0 !important;
  }

  .mesh-department summary {
    grid-template-columns: 1fr 24px;
    padding: 1.15rem 1rem;
  }

  .mesh-count {
    display: none;
  }

  .mesh-department .mesh-city-list.mesh-city-list {
    grid-template-columns: 1fr;
    padding: 0 1rem 1rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mesh-department .mesh-city-list a {
    transition: none !important;
  }
}
