/*
Theme Name: BP Confort
Theme URI: https://agencem.ca
Author: agence m
Author URI: https://agencem.ca
Description: Thème sur mesure pour BP Confort
Version: 1.1.0
Text Domain: bp-confort
*/

/* FONTS FACES
   ----------------------------- */

@font-face {
   font-family: "Montserrat";
   font-style: normal;
   font-weight: 400 700;
   font-display: swap;
   src: url("fonts/montserrat-latin-variable-normal.woff2") format("woff2");
}

@font-face {
   font-family: "Montserrat";
   font-style: italic;
   font-weight: 400 700;
   font-display: swap;
   src: url("fonts/montserrat-latin-variable-italic.woff2") format("woff2");
}

@font-face {
   font-family: "Dosis";
   font-style: normal;
   font-weight: 600;
   font-display: swap;
   src: url("fonts/dosis-latin-600-normal.woff2") format("woff2");
}

@font-face {
   font-family: "Montserrat Fallback";
   src: local("Arial");
   size-adjust: 113%;
   ascent-override: 85%;
   descent-override: 22%;
   line-gap-override: 0%;
}

@font-face {
   font-family: "Montserrat Fallback";
   font-weight: 700;
   src: local("Arial Bold"), local("Arial-BoldMT");
   size-adjust: 105%;
   ascent-override: 92%;
   descent-override: 24%;
   line-gap-override: 0%;
}

@font-face {
   font-family: "Dosis Fallback";
   src: local("Arial Narrow"), local("Arial");
   size-adjust: 88%;
   ascent-override: 117%;
   descent-override: 27%;
   line-gap-override: 0%;
}


/* VARIABLES
   ----------------------------- */
:root {
   --red: #E42322;
   --blue: #00579D;
   --light-blue: #9bafc7;
   --dark-grey: #575756;
   --light-grey: #C6C6C5;
   --white: #FFF;
   --black: #000;

   --white-glass: rgba(255, 255, 255, 0.94);
   --border-light: rgba(87, 87, 86, 0.15);
   --field-border: rgba(87, 87, 86, 0.2);
   --backdrop: rgba(0, 0, 0, 0.3);
   --overlay: rgba(0, 0, 0, 0.3);

   --h1-size: clamp(1.875rem, min(calc(1.339rem + 2.679vw), calc(3.0268rem + 0.8036vw)), 4.3125rem);
   --h2-size: clamp(1.75rem, min(calc(0.853rem + 2.872vw), calc(2.7946rem + 0.7143vw)), 3.9375rem);
   --h2-alternate-size: clamp(1.75rem, min(calc(1.351rem + 1.277vw), calc(2.0179rem + 0.5357vw)), 2.875rem);
   --h3-size: clamp(1.25rem, min(calc(0.982rem + 1.339vw), calc(1.7857rem + 0.4464vw)), 2.5rem);
   --h4-size: clamp(1.125rem, min(calc(1rem + 0.625vw), calc(1.3214rem + 0.2679vw)), 1.75rem);
   --h5-size: clamp(1.0625rem, min(calc(0.973rem + 0.446vw), calc(1.2143rem + 0.1786vw)), 1.5rem);
   --h6-size: clamp(0.875rem, min(calc(0.839rem + 0.179vw), calc(0.8393rem + 0.1786vw)), 1.125rem);
   --impact-size: clamp(1.75rem, min(calc(0.487rem + 4.043vw), calc(3.3214rem + 0.8929vw)), 4.75rem);

   --paragraph-size: clamp(0.9375rem, min(calc(0.884rem + 0.268vw), calc(0.9643rem + 0.1786vw)), 1.25rem);
   --small-text-size: clamp(0.75rem, min(calc(0.714rem + 0.179vw), calc(0.7946rem + 0.0893vw)), 0.9375rem);

   --btn-size: clamp(0.75rem, min(calc(0.714rem + 0.179vw), calc(0.7946rem + 0.0893vw)), 0.9375rem);

   --radius-full: 9999px;
   --radius-circle: 50%;
   --radius-big: 2.5rem;
   --radius: 1.25rem;
   --radius-small: 0.625rem;
   --radius-xs: 0.25rem;
   --radius-xxs: 0.125rem;

   --nav-height: 5.625rem;

   --container-padding: clamp(1.25rem, min(calc(0.375rem + 3vw), max(3rem, calc(2.6786rem + 0.3571vw))), 3.25rem);
   --row-padding-xs: clamp(2.5rem, min(calc(1.786rem + 3.571vw), calc(4.3571rem + 0.7143vw)), 5.5rem);
   --row-padding-s: clamp(3.75rem, min(calc(2.857rem + 4.464vw), calc(5.9107rem + 1.0714vw)), 7.625rem);
   --row-padding-l: clamp(4.375rem, min(calc(3.482rem + 4.464vw), calc(6.5357rem + 1.0714vw)), 8.25rem);
   --row-padding-xl: clamp(5rem, min(calc(3.338rem + 5.319vw), calc(7rem + 1.25vw)), 9rem);
   --row-padding-xxl: clamp(5.625rem, min(calc(4.554rem + 5.357vw), calc(8.0893rem + 1.4286vw)), 10.375rem);
   --size-wrap: clamp(100rem, calc(83.3333rem + 16.6667vw), 110rem);

   --font-main: "Montserrat", "Montserrat Fallback", sans-serif;
   --font-secondary: "Dosis", "Dosis Fallback", sans-serif;

   --ease-link: cubic-bezier(0.625, 0.05, 0, 1);
   --ease-btn: cubic-bezier(0.19, 1, 0.22, 1);
   --ease-zoom: cubic-bezier(0.33, 1, 0.68, 1);
   --ease-btn-click: cubic-bezier(0.4, 0, 0.2, 1);
   --ease-fade: ease;

   --hover-zoom: 1.05;
   --btn-click-scale: 0.955 0.925;
   --card-click-scale: 0.985;
   --link-click-scale: 0.96;
   --underline-offset: 0.25em;
   --arrow-btn-size: clamp(1.875rem, calc(1.75rem + 0.625vw), 2.3125rem);
   --arrow-btn-icon-size: clamp(0.8125rem, calc(0.759rem + 0.268vw), 1rem);

   --field-height: 3.4375rem;
   --field-size: 0.9375rem;
   --field-label-size: 0.875rem;
   --field-padding: 1rem;
   --field-radius: 0.375rem;
}

@media (max-width: 1024px), (pointer: coarse) {
   :root {
      --field-height: 3.125rem;
      --field-size: 1rem;
      --field-label-size: 0.8125rem;
      --field-padding: 0.875rem;
   }
}

@media (max-width: 991px) {
   :root {
      --nav-height: 3.75rem;
   }
}

@media (max-width: 479px) {
   :root {
      --field-height: 3rem;
   }
}

/* FONTS
   ----------------------------- */

body {
   font-size: 1rem;
   line-height: 1.375;
   font-family: var(--font-main);
   font-weight: 400;
   color: var(--dark-grey);
}

p {
   font-size: var(--paragraph-size);
   line-height: 1.4;
   font-family: var(--font-main);
   font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
   overflow-wrap: break-word;
}

::selection {
   background-color: var(--blue);
   color: var(--white);
}

h1, .h1 {
   font-size: var(--h1-size);
   line-height: 1.2;
   font-weight: 700;
   letter-spacing: 0.0625rem;
   color: inherit;
   text-transform: uppercase;
}

h2, .h2 {
   font-size: var(--h2-size);
   line-height: 1.2;
   font-weight: 700;
   letter-spacing: 0.0625rem;
   color: inherit;
   text-transform: uppercase;
}

h3, .h3 {
   font-size: var(--h3-size);
   line-height: 1.2;
   font-weight: 700;
   letter-spacing: 0.0625rem;
   color: inherit;
   text-transform: uppercase;
}

h4, .h4 {
   font-size: var(--h4-size);
   line-height: 1.15;
   font-family: var(--font-secondary);
   font-weight: 600;
   letter-spacing: 0.0625rem;
   color: inherit;
   text-transform: uppercase;
}

h5, .h5 {
   font-size: var(--h5-size);
   line-height: 1.25;
   font-family: var(--font-secondary);
   font-weight: 600;
   color: inherit;
   text-transform: uppercase;
}

h6, .h6 {
   font-size: var(--h6-size);
   line-height: 1.5;
   font-weight: 400;
   color: var(--dark-grey);
}

.impact {
   font-size: var(--impact-size);
   line-height: 1.06;
   font-weight: 700;
   text-transform: uppercase;
}

.small-text {
   font-size: var(--small-text-size);
   line-height: 1.3;
   font-weight: 400;
}

strong,
b {
   font-weight: 500;
}

em,
i {
   font-style: italic;
}

sup {
   font-size: 0.6em;
   line-height: 0;
   vertical-align: super;
}

/* GENERAL
   ----------------------------- */

html {
   scrollbar-gutter: stable;
   scroll-padding-top: calc(var(--nav-height) + 1rem);
   -webkit-text-size-adjust: 100%;
   text-size-adjust: 100%;
   background-color: var(--white);
}
html[data-scroll-locked] {
   overflow: hidden;
   overscroll-behavior: none;
}
body {
   background-color: var(--white);
}

a {
   transition: color 0.3s var(--ease-fade);
}

a[href^="tel"] {
   color: inherit;
   text-decoration: none;
}

.paragraph p {
   padding-bottom: 0.9375rem;
}

.paragraph p:last-child {
   padding-bottom: 0;
}

.paragraph a {
   text-decoration: underline;
   text-underline-offset: 0.15em;
   transition: color 0.3s var(--ease-fade), text-decoration-color 0.3s var(--ease-fade);
}

.c-wrap {
   max-width: var(--size-wrap);
   padding: 0 var(--container-padding);
   margin: 0 auto;
   width: 100%;
}

img {
   width: 100%;
   max-width: 100%;
   display: block;
   height: auto;
}

main {
   overflow-x: clip;
}

:where(a, button, label, summary, input, select, textarea) {
   -webkit-tap-highlight-color: transparent;
   touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
   .paragraph a:hover {
      text-decoration-color: transparent;
   }
}


/* ACCESSIBILITY
   ----------------------------- */

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

.skip-link {
   position: absolute;
   left: -9999px;
   top: auto;
   width: 1px;
   height: 1px;
   overflow: hidden;
   z-index: 9999;
   padding: 0.75rem 1.5rem;
   background: var(--blue);
   color: var(--white);
   font-size: var(--small-text-size);
   text-decoration: none;
   border-radius: var(--radius-big);
}

.skip-link:focus {
   position: fixed;
   top: 0.5rem;
   left: 0.5rem;
   width: auto;
   height: auto;
   overflow: visible;
}

:where(#main-content, section[tabindex="-1"]):focus {
   outline: none;
}

:focus-visible {
   outline: 2px solid var(--dark-grey);
   outline-offset: 2px;
   box-shadow: 0 0 0 2px var(--white);
}

.main-btn:focus-visible {
   outline-color: var(--white);
   box-shadow: 0 0 0 4px var(--dark-grey);
}

@media (forced-colors: active) {
   :focus-visible {
      outline-color: Highlight;
   }
}

/* REVEAL
   ----------------------------- */

html[data-reveal-pending][data-reveal-fade] :is([data-reveal], [data-reveal-group] > *) {
   opacity: 0;
}

/* BUTTONS
   ----------------------------- */

.main-btn {
   --arrow-size: var(--arrow-btn-size);
   display: inline-block;
   position: relative;
   background: transparent;
   border: 1px solid var(--white);
   padding: 0.25rem;
   border-radius: var(--radius-big);
   transition: scale 0.15s var(--ease-btn-click);
}
.main-btn:active {
   scale: var(--btn-click-scale);
}
.main-btn .btn-inner-wrap {
   position: relative;
   display: inline-flex;
   align-items: center;
   gap: clamp(0.875rem, calc(0.768rem + 0.536vw), 1.25rem);
   border-radius: var(--radius-big);
   overflow: hidden;
}
.main-btn .btn-inner-wrap::after {
   content: '';
   background: var(--blue);
   position: absolute;
   top: 50%;
   right: 0;
   width: var(--arrow-size);
   height: var(--arrow-size);
   z-index: 1;
   transform: translateY(-50%);
   border-radius: var(--radius-circle);
}
.main-btn span.text {
   position: relative;
   z-index: 2;
   color: var(--white);
   font-size: var(--btn-size);
   font-family: var(--font-main);
   text-transform: uppercase;
   font-weight: 400;
   line-height: 1;
   padding: 0 clamp(0.625rem, calc(0.536rem + 0.446vw), 0.9375rem);
   white-space: nowrap;
   clip-path: inset(0);
}
.main-btn span.text span {
   display: inline-block;
   white-space: pre;
   translate: 0 0 0;
   text-shadow: 0 1.3em currentColor;
   transition: translate 0.6s calc(var(--index) * 0.015s) var(--ease-btn);
}
.main-btn span.arrow {
   position: relative;
   z-index: 2;
   flex-shrink: 0;
   width: var(--arrow-size);
   height: var(--arrow-size);
   display: flex;
   align-items: center;
   justify-content: center;
}
.main-btn .arrow-ring {
   position: absolute;
   right: 0.25rem;
   top: 50%;
   width: var(--arrow-size);
   height: var(--arrow-size);
   transform: translateY(-50%);
   pointer-events: none;
   z-index: 2;
}
.main-btn .arrow-ring-mask {
   stroke-dasharray: 300;
   stroke-dashoffset: 300;
   transition: stroke-dashoffset 0.5s var(--ease-btn);
}
.main-btn span.arrow svg {
   width: var(--arrow-btn-icon-size);
   height: auto;
   transition: transform 0.5s var(--ease-btn);
}
.main-btn svg {
   overflow: initial;
}
.main-btn.btn-red {
   color: var(--red);
   background: var(--red);
   border-color: var(--red);
}
.main-btn.btn-red .btn-inner-wrap::after {
   background: var(--white);
}
.main-btn.btn-red .arrow-ring {
   color: var(--red);
}
.main-btn.btn-white-red {
   color: var(--red);
   border-color: var(--white);
}
.main-btn.btn-white-red .btn-inner-wrap::after {
   background: var(--white);
}
.main-btn.btn-white-blue {
   color: var(--blue);
   border-color: var(--white);
}
.main-btn.btn-white-blue .btn-inner-wrap::after {
   background: var(--white);
}
.main-btn.btn-back {
   background: transparent;
   border: transparent;
   padding: 0;
}
.main-btn.btn-back span.text {
   padding: 0;
}
.main-btn.btn-back .arrow-ring {
   left: 0;
   right: auto;
}
.main-btn.btn-back .btn-inner-wrap::after {
   left: 0;
   right: auto;
}
.main-btn.btn-back span.arrow svg {
   transform: rotate(180deg);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
   .main-btn:is(:hover, :focus-visible) span.text span {
      translate: 0 -1.3em 0;
      transition: translate 0.6s calc(var(--index) * 0.015s + 0.05s) var(--ease-btn);
   }
   .main-btn:is(:hover, :focus-visible) .arrow-ring-mask {
      stroke-dashoffset: 110;
      transition: stroke-dashoffset 0.8s 0.05s var(--ease-btn);
   }
   .main-btn:is(:hover, :focus-visible) span.arrow svg {
      transform: rotate(360deg);
      transition: transform 0.8s 0.05s var(--ease-btn);
   }
   .main-btn.btn-back:is(:hover, :focus-visible) span.arrow svg {
      transform: rotate(540deg);
   }
}
@supports (width: round(1px, 2px)) {
   .main-btn .btn-inner-wrap::after,
   .main-btn span.arrow,
   .main-btn .arrow-ring {
      width: round(var(--arrow-size), 2px);
      height: round(var(--arrow-size), 2px);
   }
   .main-btn span.arrow svg {
      width: round(var(--arrow-btn-icon-size), 2px);
   }
}
@media (forced-colors: active) {
   .main-btn {
      border: 1px solid ButtonText;
   }
   .main-btn .btn-inner-wrap::after {
      forced-color-adjust: none;
      background: ButtonText;
   }
}

@media (prefers-reduced-motion: reduce) {
   .main-btn,
   .main-btn span.text span,
   .main-btn .arrow-ring-mask,
   .main-btn span.arrow svg {
      transition: none;
   }
}

/* UNDERLINE LINKS
   ----------------------------- */

[data-underline-link] {
   text-decoration: none;
   position: relative;
}

[data-underline-link]::before,
[data-underline-link="alt"]::before,
[data-underline-link="alt"]::after {
   content: "";
   position: absolute;
   bottom: calc(var(--underline-offset) * -1);
   left: 0;
   width: 100%;
   height: 0.0625em;
   background-color: currentColor;
   transition: transform 0.735s var(--ease-link);
   transform-origin: right;
   transform: scaleX(0) rotate(0.001deg);
}

[data-underline-link="alt"]::before {
   transform-origin: left;
   transform: scaleX(1) rotate(0.001deg);
   transition-delay: 0.3s;
}

[data-underline-link="alt"]::after {
   transform-origin: right;
   transform: scaleX(0) rotate(0.001deg);
   transition-delay: 0s;
}

[data-underline-link="text"] {
   padding-bottom: calc(var(--underline-offset) + 0.0625em);
   background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 0.0625em;
   transition: background-size 0.735s var(--ease-link);
}

[data-underline-link="text"]::before {
   content: none;
}

@media (hover: hover) and (pointer: fine) {
   [data-hover]:hover [data-underline-link]::before,
   [data-underline-link]:hover::before {
      transform-origin: left;
      transform: scaleX(1) rotate(0.001deg);
   }

   [data-hover]:hover [data-underline-link="alt"]::before,
   [data-underline-link="alt"]:hover::before {
      transform-origin: right;
      transform: scaleX(0) rotate(0.001deg);
      transition-delay: 0s;
   }

   [data-hover]:hover [data-underline-link="alt"]::after,
   [data-underline-link="alt"]:hover::after {
      transform-origin: left;
      transform: scaleX(1) rotate(0.001deg);
      transition-delay: 0.3s;
   }

   [data-hover]:hover [data-underline-link="text"],
   [data-underline-link="text"]:hover {
      background-position: left bottom;
      background-size: 100% 0.0625em;
   }
}

@media (prefers-reduced-motion: reduce) {
   [data-underline-link],
   [data-underline-link]::before,
   [data-underline-link]::after {
      transition: none;
   }
}

/* CF7 FORMS
   ----------------------------- */

.hidden-fields-container {
   width: 100%;
}

.wpcf7-form {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   gap: 0;
}

.wpcf7-form label,
.wpcf7-form .label {
   display: block;
   font-size: var(--field-label-size);
   font-weight: 500;
   font-family: var(--font-main);
   margin-bottom: 0.5rem;
   color: inherit;
}

.wpcf7-form .wpcf7-form-control-wrap {
   position: initial !important;
   display: block;
}

.wpcf7-form button[type="submit"] {
   cursor: pointer;
}

.wpcf7-form button[type="submit"]:disabled {
   cursor: progress;
   opacity: 0.6;
}

.wpcf7-form.submitting button[type="submit"] {
   cursor: progress;
   pointer-events: none;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"] {
   width: 100%;
   height: var(--field-height);
   font-family: var(--font-main);
   font-size: var(--field-size);
   line-height: 1;
   color: var(--black);
   background: var(--white);
   padding: 0 var(--field-padding);
   border: 1px solid var(--field-border);
   border-radius: var(--field-radius);
   transition: border-color 0.3s var(--ease-fade);
}

.wpcf7-form textarea {
   width: 100%;
   font-family: var(--font-main);
   font-size: var(--field-size);
   line-height: 1.4;
   color: var(--black);
   background: var(--white);
   padding: var(--field-padding);
   border: 1px solid var(--field-border);
   border-radius: var(--field-radius);
   resize: none;
   overflow: hidden;
   height: 13.75rem;
   transition: border-color 0.3s var(--ease-fade);
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
   box-shadow: none;
   border-color: var(--dark-grey);
   outline: none;
}

.wpcf7-form .control-group {
   position: relative;
   width: 100%;
   padding: 0.625rem 0;
   user-select: none;
}

.wpcf7-form .control-group.mid {
   width: calc(50% - 0.75rem);
}

.wpcf7-form .submit-wrap {
   display: flex;
   flex-direction: row;
   gap: 1rem;
   align-items: center;
   justify-content: flex-end;
   width: 100%;
   margin-top: 2rem;
}

.wpcf7-form .wpcf7-not-valid-tip {
   display: block;
   font-size: 0.75rem;
   color: var(--red);
   background: transparent;
   box-shadow: none;
   padding: 0.375rem 0 0;
}

.wpcf7-form input[type="text"].wpcf7-not-valid,
.wpcf7-form input[type="email"].wpcf7-not-valid,
.wpcf7-form input[type="tel"].wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid,
.wpcf7-form select.wpcf7-not-valid {
   border-color: var(--red);
}

.wpcf7-form .wpcf7-response-output {
   font-size: 0.875rem;
   line-height: 1.5;
   background: transparent;
   border: 0 !important;
   padding: 2rem 0 0 0 !important;
   margin: 0 auto !important;
   width: 100%;
   max-width: 32em;
   text-align: center;
}

.wpcf7-form .label:has(+ .hint) {
   margin-bottom: 0.25rem;
}

.wpcf7-form .hint {
   margin-bottom: 0.625rem;
   font-size: 0.8125rem;
   line-height: 1.4;
   color: inherit;
}

.wpcf7-form .clarification {
   font-size: 0.8125rem;
   line-height: 1.4;
   margin-top: 0.5rem;
   width: 100%;
   color: inherit;
}

.wpcf7-form-control::placeholder {
   color: var(--dark-grey);
   opacity: 0.5;
}

.wpcf7-form .select-wrap {
   position: relative;
}

.wpcf7-form .select-wrap select {
   width: 100%;
   height: var(--field-height);
   cursor: pointer;
   background: var(--white);
   -webkit-appearance: none;
   appearance: none;
   font-family: var(--font-main);
   font-size: var(--field-size);
   color: var(--dark-grey);
   padding: 0 2.75rem 0 var(--field-padding);
   border: 1px solid var(--field-border);
   border-radius: var(--field-radius);
   line-height: 1;
   transition: border-color 0.3s var(--ease-fade);
}

.wpcf7-form .select-wrap svg {
   position: absolute;
   top: 50%;
   right: 1rem;
   width: 0.9375rem;
   height: auto;
   pointer-events: none;
   transform: translateY(-50%) rotate(90deg);
   color: var(--dark-grey);
}

.wpcf7-form .codedropz-upload-handler {
   border: 1px solid var(--field-border);
   background: var(--white);
   border-radius: var(--field-radius);
   margin-bottom: 0;
}

.wpcf7-form .codedropz-upload-handler.codedropz-dragover {
   border-color: var(--red);
}

.wpcf7-form .codedropz-upload-container {
   height: 10rem;
   padding: 0;
}

.wpcf7-form .codedropz-upload-container .codedropz-upload-inner {
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
}

.wpcf7-form .codedropz-upload-inner > *:not(.codedropz-btn-wrap) {
   display: none !important;
}

.wpcf7-form .codedropz-btn-wrap {
   width: 100%;
   height: 100%;
}

.wpcf7-form .codedropz-upload-inner .codedropz-btn-wrap a.cd-upload-btn {
   font-family: var(--font-main);
   font-size: var(--field-size);
   font-weight: 400;
   width: 100%;
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--dark-grey);
   text-decoration: none;
}

.wpcf7-form .dnd-upload-status {
   padding: 0.625rem 0;
}

.wpcf7-form .dnd-upload-status .dnd-upload-details .dnd-progress-bar {
   background: var(--border-light);
   border-radius: 0.125rem;
   height: 1.125rem;
}

.wpcf7-form .dnd-upload-status .dnd-upload-details .dnd-progress-bar span {
   background: var(--red);
   color: var(--white);
   font-size: 0.625rem;
   font-weight: 500;
   line-height: 1.125rem;
   text-align: center;
}

.wpcf7-form .dnd-upload-status .dnd-upload-details .name span {
   color: var(--dark-grey);
   font-size: 0.875rem;
}

.wpcf7-form .dnd-upload-status .dnd-upload-details .name em {
   font-family: var(--font-main);
   font-size: 0.75rem;
   font-style: normal;
   font-weight: 500;
   color: var(--dark-grey);
}

.wpcf7-form .dnd-icon-remove.deleting {
   color: var(--dark-grey) !important;
   text-transform: none !important;
}

.wpcf7-form .dnd-upload-status .dnd-upload-details span.has-error {
   font-size: 0.75rem;
   display: block;
   margin-top: 0.5rem;
   color: var(--red);
}

.wpcf7-form .dnd-upload-counter {
   pointer-events: none;
   color: var(--dark-grey);
   opacity: 0.6;
   font-size: 0.6875rem;
   right: 0.75rem;
   bottom: 0.75rem;
}

.wpcf7-form .dnd-upload-status .dnd-upload-details .remove-file span:after {
   background-image: url(images/delete.svg) !important;
}

.wpcf7-form .dnd-upload-status .dnd-upload-image {
   border: 1px solid var(--border-light) !important;
}

.wpcf7-form .dnd-upload-status .dnd-upload-image span.file {
   background-image: url(images/file.svg) !important;
}

@media (hover: hover) and (pointer: fine) {
   .wpcf7-form .clarification a:hover {
      text-decoration: underline;
   }
}

@media (max-width: 1024px) {
   .wpcf7-form textarea {
      height: 10rem;
   }
   .wpcf7-form .codedropz-upload-container {
      height: 9rem;
   }
   .wpcf7-form .control-group {
      padding: 0.5rem 0;
   }
   .wpcf7-form .wpcf7-response-output {
      font-size: 0.8125rem;
   }
}

@media (max-width: 767px) {
   .wpcf7-form .control-group.mid {
      width: 100%;
   }
   .wpcf7-form .clarification {
      font-size: 0.75rem;
   }
   .wpcf7-form .select-wrap svg {
      width: 0.875rem;
   }
   .wpcf7-form .dnd-upload-status .dnd-upload-details .name span {
      font-size: 0.8125rem;
   }
}

@media (max-width: 479px) {
   .wpcf7-form .dnd-upload-counter {
      display: none;
   }
   .wpcf7-form .dnd-upload-status .dnd-upload-image {
      display: none;
   }
   .wpcf7-form .dnd-upload-status .dnd-upload-details {
      width: 100%;
      padding: 0;
   }
}

@media (forced-colors: active) {
   .wpcf7-form input:focus,
   .wpcf7-form textarea:focus,
   .wpcf7-form select:focus {
      outline: 2px solid Highlight;
      outline-offset: 2px;
   }
}

@media (prefers-reduced-motion: reduce) {
   .wpcf7-form :is(input, select, textarea) {
      transition: none;
   }
}

/* COOKIEYES
   ----------------------------- */

body .cky-consent-bar [data-cky-tag="powered-by"],
body .cky-footer-wrapper [data-cky-tag="detail-powered-by"] {
   display: none !important;
}

body .cky-consent-bar > div:has(> [data-cky-tag="powered-by"]),
body .cky-footer-wrapper > div:has(> [data-cky-tag="detail-powered-by"]) {
   padding: 0 !important;
}

body .cky-consent-container {
   z-index: 200;
   width: 32rem;
}

body .cky-btn-revisit-wrapper {
   z-index: 99;
   background-color: var(--blue) !important;
}

body .cky-box-bottom-left {
   bottom: 1rem;
   left: 1rem;
}

body .cky-box-bottom-right {
   right: 1rem;
   bottom: 1rem;
}

body .cky-revisit-bottom-left {
   bottom: 1rem;
   left: 1rem;
}

body .cky-consent-container .cky-consent-bar {
   padding: 1.75rem;
   color: var(--dark-grey);
   background-color: var(--white) !important;
   border: 1px solid var(--border-light) !important;
   border-radius: var(--radius);
   box-shadow: none;
}

body .cky-notice .cky-title,
body .cky-preference-header .cky-preference-title {
   margin: 0 0 0.5rem;
   color: var(--blue);
   font-family: var(--font-secondary);
   font-size: 1.0625rem;
   font-weight: 600;
   line-height: 1.25;
   text-transform: uppercase;
}

body .cky-notice-des,
body .cky-notice-des *,
body .cky-preference-content-wrapper,
body .cky-preference-content-wrapper *,
body .cky-accordion-header-des,
body .cky-accordion-header-des * {
   color: var(--dark-grey);
   font-family: var(--font-main);
   font-size: 0.8125rem;
   line-height: 1.5;
}

body .cky-notice-des a,
body .cky-preference-content-wrapper a,
body .cky-show-desc-btn {
   color: var(--dark-grey) !important;
   text-decoration: underline;
   text-underline-offset: 0.15em;
}

body .cky-consent-container :is(.cky-custom-brand-logo-wrapper, .cky-title, .cky-notice-des, .cky-notice-btn-wrapper) {
   padding-right: 0;
   padding-left: 0;
}

body .cky-consent-container .cky-notice-content-wrapper {
   padding: 0;
}

body .cky-notice-btn-wrapper,
body .cky-prefrence-btn-wrapper {
   display: flex;
   flex-wrap: wrap;
   gap: 0.5rem;
   margin-top: 1.25rem;
}

body .cky-notice-btn-wrapper {
   flex-wrap: nowrap;
}

body .cky-btn {
   flex: 1 1 0;
   min-width: max-content;
   height: auto;
   margin: 0;
   padding: 1em;
   color: var(--dark-grey) !important;
   font-family: var(--font-main);
   font-size: 0.75rem;
   white-space: nowrap;
   font-weight: 400;
   line-height: 1;
   text-transform: uppercase;
   background-color: transparent !important;
   border: 1px solid var(--dark-grey) !important;
   border-radius: var(--radius-big);
   opacity: 1;
   cursor: pointer;
   transition: color 0.3s var(--ease-fade), background-color 0.3s var(--ease-fade), border-color 0.3s var(--ease-fade);
}

body .cky-btn.cky-btn-accept {
   color: var(--white) !important;
   background-color: var(--red) !important;
   border-color: var(--red) !important;
}

body .cky-btn:focus-visible {
   outline: 2px solid var(--dark-grey);
   outline-offset: 3px;
}

body .cky-modal {
   left: 50%;
   opacity: 0;
   background-color: transparent !important;
   border-radius: var(--radius);
   transform: translate(-50%, -50%);
   transition: opacity 0.5s var(--ease-fade), visibility 0s 0.5s;
}

body .cky-modal.cky-modal-open {
   opacity: 1;
   transition: opacity 0.5s var(--ease-fade);
}

body .cky-modal .cky-preference-center {
   max-width: 100%;
   color: var(--dark-grey) !important;
   background-color: var(--white) !important;
   border: 0 !important;
   border-radius: var(--radius);
}

body .cky-overlay {
   opacity: 1;
   background-color: var(--backdrop);
   transition: opacity 0.5s var(--ease-fade), display 0.5s;
   transition-behavior: allow-discrete;
}

body .cky-overlay.cky-hide {
   opacity: 0;
}

@starting-style {
   body .cky-overlay {
      opacity: 0;
   }
}

body .cky-preference-header,
body .cky-footer-wrapper {
   border-color: var(--border-light) !important;
}

body .cky-preference-header .cky-preference-title {
   margin: 0;
}

body .cky-preference-header .cky-btn-close img {
   filter: brightness(0);
}

body .cky-footer-wrapper {
   background: var(--white) !important;
}

body .cky-footer-shadow {
   background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--white) 100%) !important;
}

body .cky-accordion {
   border-color: var(--border-light) !important;
}

body .cky-accordion-btn {
   color: var(--dark-grey) !important;
   font-family: var(--font-main);
   font-size: var(--paragraph-size);
   font-weight: 500;
}

body .cky-always-active {
   color: var(--blue) !important;
   font-family: var(--font-main);
   font-size: var(--small-text-size);
   font-weight: 400;
   text-transform: uppercase;
}

body .cky-chevron-right::before {
   border-color: var(--dark-grey) !important;
}

body .cky-switch input[type="checkbox"] {
   background-color: var(--light-grey) !important;
}

body .cky-switch input[type="checkbox"]:checked {
   background-color: var(--blue) !important;
}

body .cky-audit-table {
   color: var(--dark-grey) !important;
   background-color: var(--border-light) !important;
   border-radius: var(--radius-small);
}

body .cky-btn-revisit-wrapper:hover::before,
body .cky-btn-revisit-wrapper:hover::after {
   display: none;
}

html[data-scroll-locked] :is(.cky-consent-container, .cky-btn-revisit-wrapper) {
   visibility: hidden;
}

@media (hover: hover) and (pointer: fine) {
   body .cky-btn:hover {
      color: var(--white) !important;
      background-color: var(--blue) !important;
      border-color: var(--blue) !important;
      opacity: 1;
   }
}

@media (max-width: 767px) {
   body .cky-consent-container {
      width: calc(100% - 2rem);
   }
   body .cky-notice-btn-wrapper {
      flex-wrap: wrap;
   }
   body .cky-consent-container .cky-consent-bar {
      padding: 1.5rem;
   }
}

@media (max-width: 479px) {
   body .cky-consent-container {
      width: 100%;
   }
   body .cky-box-bottom-left {
      bottom: 0;
      left: 0;
   }
   body .cky-box-bottom-right {
      right: 0;
      bottom: 0;
   }
   body .cky-consent-container .cky-consent-bar {
      padding: 2rem 1.25rem;
      border-width: 1px 0 0 !important;
      border-radius: var(--radius) var(--radius) 0 0;
   }
   body .cky-notice-btn-wrapper .cky-btn {
      flex: none;
      width: 100%;
   }
}

@media (prefers-reduced-motion: reduce) {
   body .cky-btn,
   body .cky-modal,
   body .cky-modal.cky-modal-open,
   body .cky-overlay {
      transition: none;
   }
}

/* HEADER
   ----------------------------- */

header.header {
   z-index: 100;
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
}

header.header .header-bar {
   z-index: 3;
   position: relative;
   display: flex;
   justify-content: space-between;
   align-items: stretch;
   width: 100%;
   height: var(--nav-height);
   margin-left: auto;
   margin-right: auto;
   padding: 0 1.5rem;
   background-color: var(--white-glass);
   border-bottom: 1px solid var(--border-light);
   border-radius: 0 0 var(--radius) var(--radius);
}

header.header .logo {
   display: flex;
   align-items: center;
   flex-shrink: 0;
   margin-right: 3rem;
}

header.header .logo img {
   height: clamp(2.3125rem, 4.1vw, 3.125rem);
   width: auto;
}

header.header .nav-wrap {
   display: flex;
   justify-content: flex-start;
   align-items: center;
   width: 100%;
   position: relative;
}

header.header .nav-list {
   display: flex;
   justify-content: flex-start;
   align-items: center;
   gap: 0.5rem 2.125rem;
   margin-bottom: 0;
   padding-left: 0;
   list-style: none;
   flex-wrap: wrap;
}

header.header .nav-link {
   display: flex;
   justify-content: flex-start;
   align-items: center;
   gap: 0.5em;
   padding: 0;
   color: var(--dark-grey);
   text-decoration: none;
   border-radius: var(--radius-xs);
}

header.header .nav-link .label {
   font-size: 0.9375rem;
   font-weight: 400;
   line-height: 1;
   text-transform: uppercase;
   color: var(--dark-grey);
}

header.header .nav-link .icon {
   width: 0.6em;
   flex-shrink: 0;
}

header.header .cta-wrap {
   display: flex;
   align-items: center;
   gap: 2rem;
   margin-left: auto;
   flex-shrink: 0;
}

header.header .phone-link {
   display: flex;
   align-items: center;
   gap: 0.5em;
   font-size: 0.9375rem;
   color: var(--dark-grey);
   text-decoration: none;
   white-space: nowrap;
}

header.header .phone-link .icon {
   display: flex;
   align-items: center;
   flex-shrink: 0;
   width: 1.375rem;
}

header.header .phone-link .icon svg {
   width: 100%;
   height: auto;
}

header.header .main-btn {
   border: none;
   padding: 0;
}

header.header .main-btn .btn-inner-wrap {
   padding: 0.875rem 1.5625rem;
   gap: 0;
   background-color: var(--red);
   border-radius: var(--radius-full);
}

header.header .main-btn .btn-inner-wrap::after,
header.header .main-btn .arrow,
header.header .main-btn .arrow-ring {
   display: none;
}

header.header .main-btn span.text {
   padding: 0;
}

header.header .nav-panel {
   display: flex;
   justify-content: flex-start;
   align-items: center;
   gap: 1rem;
   width: 100%;
}

header.header .dropdown-wrapper {
   position: absolute;
   top: 100%;
   left: 0;
   z-index: 2;
   width: auto;
   min-width: 25rem;
   pointer-events: none;
}

header.header .dropdown-container {
   position: relative;
   overflow: hidden;
}

header.header .dropdown-bg {
   position: absolute;
   inset: 0;
   background-color: var(--blue);
   border-radius: 0 0 var(--radius-small) var(--radius-small);
}

header.header .dropdown-panel {
   position: absolute;
   inset: 0 0 auto;
   opacity: 0;
   pointer-events: none;
   visibility: hidden;
   overflow: hidden;
}

header.header .dropdown-wrapper:has(.is-open) {
   pointer-events: auto;
}

header.header .dropdown-container:has(.is-open) {
   height: auto;
}

header.header .dropdown-panel.is-open {
   position: relative;
   visibility: visible;
   opacity: 1;
   pointer-events: auto;
}

header.header .dropdown-inner {
   padding: 2rem;
}

header.header .panel-list {
   display: flex;
   flex-flow: column;
   justify-content: flex-start;
   align-items: stretch;
   gap: 0.75rem;
   width: 100%;
   margin-bottom: 0;
   padding: 0;
   list-style: none;
}

header.header .panel-link {
   display: flex;
   justify-content: flex-start;
   align-items: center;
   font-size: 0.9375rem;
   color: var(--white);
   text-decoration: none;
}

header.header .backdrop {
   position: fixed;
   inset: 0%;
   z-index: 0;
   opacity: 0;
   pointer-events: none;
   visibility: hidden;
   background-color: var(--backdrop);
   backdrop-filter: blur(4px);
   -webkit-backdrop-filter: blur(4px);
}

header.header .dropdown-wrapper::before {
   content: '';
   position: absolute;
   top: -30px;
   left: 0;
   right: 0;
   height: 30px;
}

header.header .burger-wrap {
   display: none;
   justify-content: flex-end;
   align-items: center;
   gap: 0.75em;
}

header.header .burger {
   display: flex;
   flex-flow: column;
   justify-content: center;
   align-items: center;
   gap: 0.2em;
   width: 2.375rem;
   height: 1.875rem;
   padding: 0;
   background-color: var(--red);
   border-radius: var(--radius-xs);
}

header.header .burger .line {
   display: block;
   position: relative;
   z-index: 1;
   flex: none;
   width: 1.25rem;
   height: 0.0625rem;
   padding: 0;
   background-color: var(--white);
   border-radius: var(--radius-xxs);
}

header.header .nav-link.is-back {
   position: fixed;
   top: 0;
   left: 1.5rem;
   z-index: 5;
   display: flex;
   align-items: center;
   gap: 0.5rem;
   height: var(--nav-height);
   opacity: 0;
   visibility: hidden;
}

header.header .nav-link.is-back .label {
   line-height: 1;
}

@media (max-width: 1300px) {

   header.header .logo {
      margin-right: 2rem;
   }

   header.header .nav-list {
      column-gap: 1.5rem;
   }

   header.header .nav-link .label {
      font-size: 0.875rem;
   }

   header.header .cta-wrap {
      gap: 1.5rem;
   }

   header.header .phone-link {
      display: none;
   }

   header.header .main-btn .btn-inner-wrap {
      padding: 0.75rem 1rem;
   }
}

@media (max-width: 991px) {

   header.header .header-bar {
      background-color: var(--white);
   }

   header.header .nav-wrap {
      justify-content: space-between;
      align-items: center;
   }

   header.header .nav-list {
      display: flex;
      flex-flow: column;
      justify-content: flex-start;
      align-items: stretch;
      gap: 0;
      width: 100%;
   }

   header.header .nav-link {
      width: 100%;
      padding: 1rem 0;
      font-size: 0.9375rem;
      border-bottom: 1px solid var(--border-light);
      border-radius: 0;
   }

   header.header .nav-link .label {
      font-size: 0.9375rem;
   }

   header.header .nav-link.is-dropdown {
      justify-content: space-between;
      align-items: center;
   }

   header.header .nav-link .icon {
      width: 0.8125rem;
   }

   header.header .nav-link .icon.is-dropdown {
      transform: rotate(-90deg);
   }

   header.header .nav-link.is-back .icon {
      width: 1rem;
      height: auto;
      transform: rotate(180deg);
   }

   header.header [data-underline-link]::before {
      display: none;
   }

   header.header .logo img {
      height: 2.1875rem;
   }
   header.header .nav-link.is-back {
      border-bottom-style: none;
      font-size: 1em;
   }

   header.header .cta-wrap {
      display: flex;
      justify-content: space-between;
      width: 100%;
      margin-left: 0;
      padding-top: 1.5em;
      flex-shrink: 0;
   }

   header.header .cta-wrap .main-btn {
      width: 100%;
      text-align: center;
   }
   header.header .cta-wrap .main-btn .btn-inner-wrap {
      padding-block: 1.125rem;
      width: 100%;
      justify-content: center;
   }

   header.header .burger-wrap {
      display: flex;
   }

   header.header .nav-panel {
      position: fixed;
      top: var(--nav-height);
      right: 0%;
      bottom: 0%;
      left: 0%;
      display: flex;
      flex-flow: column;
      justify-content: space-between;
      align-items: center;
      padding: 2em 1.5em;
      opacity: 0;
      visibility: hidden;
      background-color: var(--white);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      border-radius: var(--radius) var(--radius) 0 0;
   }

   header.header[data-menu-open="true"] .nav-panel {
      visibility: visible;
      opacity: 1;
   }

   header.header .nav-panel .nav-list {
      flex-shrink: 0;
   }

   header.header .backdrop {
      display: none;
   }

   header.header .dropdown-wrapper {
      position: fixed;
      top: var(--nav-height);
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 4;
      width: auto;
      min-width: 0;
   }

   header.header .panel-list {
      gap: 0;
   }

   header.header .dropdown-container {
      height: 100%;
      overflow: auto;
   }

   header.header .dropdown-container:has(.is-open) {
      height: 100%;
   }

   header.header .dropdown-bg {
      display: none;
   }

   header.header .dropdown-panel {
      bottom: 0;
      background-color: var(--white);
      overflow: auto;
      border-radius: var(--radius) var(--radius) 0 0;
   }

   header.header .dropdown-panel.is-open {
      position: absolute;
   }

   header.header .dropdown-inner {
      padding: 1.5em;
   }

   header.header .panel-link {
      padding: 1rem 0;
      color: var(--dark-grey);
      border-bottom: 1px solid var(--border-light);
      border-radius: 0;
   }
}

@media (max-width: 767px) {

   header.header .nav-link .label {
      font-size: 0.875rem;
   }

   header.header .nav-link {
      padding: 0.875rem 0;
   }

   header.header .panel-link {
      font-size: 0.875rem;
      padding: 0.875rem 0;
   }

   header.header .nav-link .icon {
      width: 0.6875rem;
   }

   header.header .nav-link.is-back {
      font-size: 0.8125rem;
   }

   header.header .nav-link.is-back .icon {
      width: 0.9375rem;
   }
}

@media (forced-colors: active) {
   header.header .burger {
      border: 1px solid ButtonText;
   }
   header.header .burger .line {
      forced-color-adjust: none;
      background-color: ButtonText;
   }
}


@media (scripting: none) {
   header.header .burger-wrap,
   header.header [data-nav-list-item]:has(> [data-dropdown-toggle]) {
      display: none;
   }
}

html[data-scripts-failed] header.header .burger-wrap,
html[data-scripts-failed] header.header [data-nav-list-item]:has(> [data-dropdown-toggle]) {
   display: none;
}

/* FOOTER
   ----------------------------- */

footer.footer {
   background-color: var(--blue);
   color: var(--white);
}
footer.footer a {
   font-size: var(--small-text-size);
   color: inherit;
}
footer.footer .nav,
footer.footer .services,
footer.footer .social {
   padding-top: 3.125rem;
}
footer.footer .info {
   padding-top: 0;
   display: flex;
   flex-direction: column;
   gap: 0.9375rem;
}
footer.footer .logo {
   display: inline-block;
   margin-bottom: 1.25rem;
}
footer.footer .logo img {
   max-width: clamp(7rem, 14vw, 11rem);
}
footer.footer .address p,
footer.footer .address {
   font-size: var(--small-text-size);
   padding: 0;
}
footer.footer .top {
   display: grid;
   grid-template-columns: 3fr 2fr 3fr 1fr;
   column-gap: clamp(1.5rem, 3vw, 3rem);
   padding: var(--row-padding-xs) 0 clamp(5rem, calc(4.107rem + 4.464vw), 8.125rem) 0;
}
footer.footer .nav,
footer.footer .services {
   display: flex;
   flex-direction: column;
   gap: 1.5rem;
}
footer.footer .bottom {
   padding: 1.5rem 0;
   border-top: 1px solid rgba(255, 255, 255, 0.6);
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 0.25rem;
   font-size: var(--small-text-size);
}
footer.footer .items {
   display: flex;
   flex-direction: column;
   gap: 0.25rem;
   font-size: var(--small-text-size);
}
footer.footer .contacts {
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
}
footer.footer .legal {
   display: flex;
   flex-wrap: wrap;
   justify-content: flex-end;
   gap: 0.25rem 1.5rem;
}

footer.footer .cookie-settings {
   padding: 0;
   color: inherit;
   font: inherit;
   background: none;
   border: 0;
   cursor: pointer;
}

html:not([data-consent-ready]) footer.footer .cookie-settings {
   display: none;
}

footer.footer .items .item,
footer.footer .contacts .link,
footer.footer .legal :is(a, .cookie-settings) {
   width: fit-content;
   min-height: 1.5rem;
   display: inline-flex;
   align-items: center;
}
footer.footer .rbq {
   font-size: var(--small-text-size);
}
footer.footer .socials {
   display: flex;
   flex-wrap: wrap;
   gap: 0.75rem;
   padding: 0;
   list-style: none;
}
footer.footer .socials a {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-width: 1.5rem;
   min-height: 1.5rem;
   font-size: clamp(1.5rem, 2.5vw, 2rem);
   line-height: 1;
   transition: color 0.3s var(--ease-fade), scale 0.16s var(--ease-btn-click);
}

footer.footer .socials a:active {
   scale: var(--link-click-scale);
}

footer.footer .socials svg {
   width: auto;
   height: 1em;
   max-width: 1em;
}

@media (hover: hover) and (pointer: fine) {
   footer.footer .socials a:hover {
      color: var(--red);
   }
}

@media (max-width: 1024px) {
   footer.footer .logo img {
      display: inline-block;
   }
   footer.footer .top {
      text-align: center;
      grid-template-columns: 1fr;
   }
   footer.footer .nav,
   footer.footer .services,
   footer.footer .social {
      padding-top: 2rem;
   }
   footer.footer .nav,
   footer.footer .services {
      gap: 0.75rem;
   }
   footer.footer .top h2 {
      font-size: 1rem;
   }
   footer.footer .items .item,
   footer.footer .contacts .link {
      margin-inline: auto;
   }
   footer.footer .contacts {
      align-items: center;
   }
   footer.footer .socials {
      justify-content: center;
   }
   footer.footer .bottom {
      flex-direction: column;
      text-align: center;
      gap: 0.5rem;
   }
   footer.footer .legal {
      justify-content: center;
   }
}

@media (prefers-reduced-motion: reduce) {
   footer.footer .socials a {
      transition: none;
   }
}
