:root {
  --background: #ffffff;
  --foreground: #171717;
  --font-sans: "Geist", Arial, Helvetica, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

* {
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e6e9e5;
  display: flex;
  justify-content: space-between;
  min-height: 78px;
  padding: 10px clamp(20px, 5vw, 72px);
  position: relative;
  z-index: 10;
}

.site-logo {
  align-items: center;
  display: inline-flex;
  flex: 0 1 auto;
  gap: 9px;
  text-decoration: none;
}

.site-logo-symbol {
  align-items: center;
  display: flex;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.site-logo-symbol img {
  display: block;
  height: 58px;
  object-fit: contain;
  width: 58px;
}

.site-logo-name {
  color: #2f8345;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.header-phone {
  color: #255d36;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  margin-right: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone span {
  color: #737b75;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.header-phone:hover {
  color: #d26f26;
}

.header-link {
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 11px 18px;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.header-link:hover {
  transform: translateY(-1px);
}

.header-link:focus-visible {
  outline: 3px solid rgba(47, 131, 69, 0.28);
  outline-offset: 3px;
}

.header-link-client {
  color: #2f8345;
}

.header-link-client:hover {
  background: #eef7f0;
}

.header-link-contact {
  background: #2f8345;
  color: #fff;
}

.header-link-contact:hover {
  background: #246b37;
}

.tagline {
  align-items: flex-start;
  background-image: url("images/hero-bsyndic-v3.png");
  background-position: center;
  background-size: cover;
  display: flex;
  min-height: clamp(340px, 30vw, 430px);
  padding: 26px clamp(24px, 8vw, 128px);
  text-align: left;
}

.tagline h1 {
  background: rgba(255, 255, 255, 0.92);
  border-left: 7px solid #d9772b;
  border-radius: 3px 18px 18px 3px;
  box-shadow: 0 18px 50px rgba(28, 45, 33, 0.14);
  color: #255d36;
  font-size: clamp(2.15rem, 4.7vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: 0;
  max-width: 680px;
  padding: clamp(20px, 2.5vw, 34px) clamp(24px, 3.4vw, 44px);
  position: sticky;
  top: 24px;
  text-wrap: balance;
  z-index: 2;
}

.introduction {
  background: #fff;
  margin: 0 auto;
  max-width: 1040px;
  padding: clamp(30px, 4vw, 50px) clamp(24px, 6vw, 72px);
  text-align: center;
}

.introduction-lead {
  color: #255d36;
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0 auto 18px;
  max-width: 900px;
  text-wrap: balance;
}

.introduction-copy {
  color: #4c5650;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 820px;
  text-wrap: pretty;
}

.switch-syndic {
  display: inline-block;
  margin-top: 18px;
  position: relative;
  z-index: 8;
}

body:has(.switch-syndic[open])::before {
  backdrop-filter: blur(5px);
  background: rgba(31, 42, 35, 0.52);
  content: "";
  inset: 0;
  position: fixed;
  z-index: 7;
}

.switch-syndic summary {
  background: #2b7141;
  border-radius: 999px;
  box-shadow: 0 9px 22px rgba(43, 113, 65, 0.2);
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  list-style: none;
  padding: 13px 22px;
  transition: background-color 160ms ease, transform 160ms ease;
}

.switch-syndic summary::-webkit-details-marker {
  display: none;
}

.switch-syndic summary:hover {
  background: #225d35;
  transform: translateY(-1px);
}

.switch-syndic summary:focus-visible {
  outline: 3px solid rgba(43, 113, 65, 0.25);
  outline-offset: 3px;
}

.switch-syndic-panel {
  background: #fff;
  border-left: 5px solid #d9772b;
  border-radius: 3px 22px 22px 3px;
  box-shadow: 0 18px 50px rgba(38, 62, 44, 0.18);
  left: calc(100% + 14px);
  opacity: 0;
  padding: 24px 26px;
  pointer-events: none;
  position: absolute;
  text-align: left;
  top: 50%;
  transform: translate(-6px, -50%);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
  width: min(430px, calc(100vw - 48px));
}

.switch-syndic-panel::before {
  content: "";
  height: 100%;
  position: absolute;
  right: 100%;
  top: 0;
  width: 16px;
}

.switch-syndic:hover .switch-syndic-panel,
.switch-syndic:focus-within .switch-syndic-panel,
.switch-syndic[open] .switch-syndic-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
  visibility: visible;
}

.switch-syndic[open] summary {
  position: relative;
  z-index: 9;
}

.switch-syndic[open] .switch-syndic-panel {
  z-index: 9;
}

.switch-syndic-panel p {
  color: #465249;
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

.switch-syndic-panel p + p {
  color: #255d36;
  font-weight: 750;
  margin-top: 12px;
}

.switch-syndic-panel a {
  color: #d26f26;
  text-underline-offset: 3px;
}

.services {
  background: #fff;
  padding: 0 0 clamp(30px, 4vw, 50px);
}

.services-heading {
  background-image: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)), url("images/services-background-v3.png");
  background-position: center;
  background-size: cover;
  margin: 0 0 clamp(20px, 2.8vw, 32px);
  padding: clamp(34px, 4.5vw, 56px) 24px;
}

.services-heading-inner {
  display: flex;
  justify-content: flex-end;
  margin: 0 auto;
  max-width: 1180px;
}

.section-label {
  color: #d26f26;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.services h2 {
  color: #25372a;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
  max-width: 720px;
  text-align: right;
  text-wrap: balance;
}

.services-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
  width: calc(100% - 48px);
}

.service-card {
  background: #fff;
  border-left: 5px solid #d9772b;
  border-radius: 3px 26px 26px 3px;
  box-shadow: 0 14px 38px rgba(38, 62, 44, 0.09);
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: clamp(20px, 2.4vw, 28px);
}

.service-card h3 {
  color: #2b7141;
  font-size: clamp(1.3rem, 2.15vw, 1.95rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 13px;
  text-wrap: balance;
}

.service-card p {
  color: #4a554d;
  font-size: clamp(0.95rem, 1.12vw, 1.03rem);
  line-height: 1.55;
  margin: 0;
}

.service-link {
  align-self: flex-start;
  background: #d9772b;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(160, 80, 25, 0.18);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  margin-top: auto;
  padding: 12px 20px;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.services > .service-link {
  display: table;
  margin: 18px auto 0;
}

.service-link:hover {
  background: #bf6120;
  box-shadow: 0 10px 24px rgba(160, 80, 25, 0.24);
  color: #fff;
  transform: translateY(-1px);
}

.service-link:focus-visible {
  outline: 3px solid rgba(217, 119, 43, 0.28);
  outline-offset: 3px;
}

.testimonials {
  background: #eef3ed;
  padding: clamp(36px, 4.5vw, 56px) clamp(24px, 6vw, 88px) clamp(48px, 5.5vw, 66px);
}

.testimonials-heading {
  margin: 0 auto clamp(20px, 2.8vw, 30px);
  max-width: 1180px;
  text-align: center;
}

.testimonials h2 {
  color: #25372a;
  font-size: clamp(1.8rem, 3.6vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 auto;
  max-width: 850px;
  text-wrap: balance;
}

.testimonials-grid {
  display: grid;
  gap: clamp(18px, 2vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1280px;
}

.testimonial-card {
  background: #fff;
  border-radius: 38px 38px 38px 8px;
  box-shadow: 0 16px 38px rgba(38, 62, 44, 0.1);
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 235px;
  padding: clamp(22px, 2.3vw, 28px);
  position: relative;
}

.testimonial-card::after {
  border-right: 26px solid transparent;
  border-top: 30px solid #fff;
  bottom: -22px;
  content: "";
  left: 32px;
  position: absolute;
}

.testimonial-card-green {
  background: #dfeadf;
}

.testimonial-card-green::after {
  border-top-color: #dfeadf;
}

.testimonial-card-orange {
  background: #fff0e3;
}

.testimonial-card-orange::after {
  border-top-color: #fff0e3;
}

.testimonial-card p {
  color: #34443a;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  line-height: 1.52;
  margin: 0 0 16px;
}

.testimonial-card footer {
  margin-top: auto;
}

.testimonial-card cite {
  color: #2b7141;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-section {
  background: #26372b;
  color: #fff;
  padding: clamp(42px, 5vw, 64px) clamp(24px, 7vw, 108px) clamp(30px, 4vw, 44px);
}

.contact-intro,
.contact-main,
.contact-details {
  margin-inline: auto;
  max-width: 1180px;
}

.contact-intro p {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
  max-width: 980px;
  text-wrap: balance;
}

.contact-main {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(22px, 3vw, 34px);
}

.contact-action {
  background: #fff;
  border-radius: 3px 24px 24px 3px;
  color: #255d36;
  display: flex;
  flex-direction: column;
  font-size: clamp(1.2rem, 2.15vw, 1.8rem);
  font-weight: 750;
  line-height: 1.2;
  padding: clamp(20px, 2.4vw, 28px);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-action-orange {
  background: #d9772b;
  color: #fff;
}

.contact-action span {
  color: #728076;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.contact-action-orange span {
  color: rgba(255, 255, 255, 0.76);
}

.contact-action:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.contact-details {
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  display: flex;
  justify-content: space-between;
  margin-top: clamp(28px, 3.5vw, 42px);
  padding-top: 22px;
}

.contact-details address,
.contact-legal {
  color: #d9e1da;
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
  font-style: normal;
  gap: 6px;
  line-height: 1.45;
}

.contact-legal {
  text-align: right;
}

.legal-footer {
  background: #1d2920;
  color: #bfc9c0;
  padding: 22px clamp(24px, 7vw, 108px) 26px;
}

.legal-footer-inner {
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.65fr);
  margin: 0 auto;
  max-width: 1180px;
}

.legal-privacy h2 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 750;
  margin: 0 0 8px;
}

.legal-footer p {
  font-size: 0.75rem;
  line-height: 1.55;
  margin: 0;
}

.legal-information {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.legal-footer a {
  color: #dbe6dc;
  text-decoration-color: #d9772b;
  text-underline-offset: 3px;
}

.legal-footer a:hover {
  color: #fff;
}

.legal-to-confirm {
  color: #e4a56e;
}

@media (max-width: 1100px) {
  .switch-syndic-panel {
    display: none;
    left: auto;
    margin-top: 12px;
    position: static;
    transform: none;
    width: min(540px, calc(100vw - 48px));
  }

  .switch-syndic[open] .switch-syndic-panel {
    display: block;
    transform: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding-block: 14px;
  }

  .site-logo {
    align-self: flex-start;
  }

  .header-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .header-phone {
    align-items: center;
    flex-basis: 100%;
    margin: 0 0 4px;
  }

  .header-link {
    flex: 1;
    padding-inline: 10px;
    text-align: center;
  }

  .tagline {
    align-items: flex-start;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 28%, rgba(255, 255, 255, 0.88) 100%), url("images/hero-bsyndic-v3.png");
    background-position: 66% center;
    min-height: 400px;
    padding: 20px;
  }

  .tagline h1 {
    border-left-width: 5px;
    border-radius: 3px 14px 14px 3px;
    font-size: clamp(2.15rem, 10vw, 3.15rem);
    max-width: 480px;
    padding: 20px 22px;
    top: 16px;
  }

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

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

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

  .contact-details {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .contact-legal {
    text-align: left;
  }

  .legal-footer-inner {
    grid-template-columns: 1fr;
  }

  .switch-syndic {
    width: 100%;
  }

  .switch-syndic-panel {
    display: none;
    left: auto;
    margin-top: 12px;
    position: static;
    transform: none;
    width: 100%;
  }

  .switch-syndic[open] .switch-syndic-panel {
    display: block;
    transform: none;
  }

  .service-card {
    min-height: 0;
  }
}
