html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}
* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
html,
body {
  margin: 0px;
  height: 100%;
}

body {
  position: relative;
}

a {
  text-decoration: none;
}

.hero {
  position: relative;
  width: 100%;
  height: 800px;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.35));
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* improved spacing */
  max-width: 900px;
  /* margin-left: clamp(1rem, 8vw, 6rem); */
  /* padding: 0 1rem; */
  color: var(--backgroundcontentbackground-primary);
}

.hero-title {
  font-family: var(--headline-primary-font-family);
  font-weight: 500;
  font-size: clamp(2.5rem, 4.5vw, 65px);
  line-height: 1.1;
  /* closer to 71.5px at large sizes */
  margin: 0;
}

.hero-description {
  max-width: 767px;
  font-family: var(--body-primary-font-family);
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.header {
  display: flex;
  width: 100%;
  max-width: 1440px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 80px;
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  box-sizing: border-box;
}

.header .logo {
  position: relative;
  width: 248px;
  height: 60px;
  aspect-ratio: 6;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.header .frame {
  justify-content: flex-end;
  gap: 40px;
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.header .navbar {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  position: relative;
  flex: 0 0 auto;
}

.header .text-wrapper {
  position: relative;
  width: fit-content;
  font-family: "Poppins";
  font-weight: 400;
  color: var(--backgroundcontentbackground-primary);
  font-size: 16px;
  letter-spacing: 0.32px;
  line-height: normal;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.header .text-wrapper:hover {
  opacity: 0.8;
}

.header .div-wrapper {
  gap: 2px;
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.header .secondary-button {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0px 24px;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--brand-colorssecond-brand-color);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.header .secondary-button:hover {
  background-color: var(--backgroundcontentbackground-primary);
}

.header .secondary-button:hover .LOG-IN {
  color: var(--backgroundcontentcontent-primary);
}

.header .secondary-button:hover .alt-arrow-right path {
  stroke: var(--backgroundcontentcontent-primary);
}

.header .secondary-button:active {
  transform: scale(0.98);
}

.header .LOG-IN {
  position: relative;
  width: fit-content;
  font-family: "Poppins";
  font-weight: 400;
  color: var(--backgroundcontentbackground-primary);
  font-size: 16px;
  letter-spacing: 0.32px;
  line-height: normal;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.alt-arrow-right {
  width: 16px;
  height: 16px;
  display: block;
}

.header .alt-arrow-right {
  position: relative;
  aspect-ratio: 1;
}

.header .alt-arrow-right path {
  transition: stroke 0.2s ease;
}

/* Mobile header: hamburger + offcanvas panel (375px reference) */
.header__logo-link {
  margin: 0 40px 0 0;
  display: inline-block;
  flex-shrink: 0;
}

.header__toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--backgroundcontentbackground-primary);
  transition: opacity 0.2s ease;
}

.header__toggler:hover {
  opacity: 0.85;
}

.header__toggler-line {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.header__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(7, 7, 7, 0.4);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.header__backdrop[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header__panel {
  display: none;
  position: fixed;
  top: 0;
  left: auto;
  right: 0;
  width: 308px;
  max-width: 82vw;
  height: 100vh;
  height: 100dvh;
  background: var(--backgroundcontentbackground-primary);
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
  z-index: 200;
  flex-direction: column;
  padding: 24px 0;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  overflow: auto;
  will-change: transform;
}

.header__panel.is-open {
  transform: translateX(0);
}

.header__panel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--backgroundcontentcontent-primary);
  padding: 0;
  transition: opacity 0.2s ease;
}

.header__panel-close:hover {
  opacity: 0.7;
}

.header__panel-row {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.header__panel-nav {
  display: flex;
  flex-direction: column;
  padding: 48px 24px 24px;
  flex: 1;
}

.header__panel-link--tablet-services {
  display: none;
}

.header__panel-link {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--backgroundcontentcontent-primary);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--backgroundcontentcontent-tertiary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.header__panel-link:hover {
  color: var(--brand-colorsmain-brand-color);
}

.header__panel-chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.header__panel-close svg {
  width: 24px;
  height: 24px;
  display: block;
}

.header__panel-group.is-open .header__panel-chevron {
  transform: rotate(180deg);
}

.header__panel-group.is-open .header__panel-link--toggle {
  border-bottom: none;
}

.header__panel-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--backgroundcontentcontent-tertiary);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.35s ease-out, opacity 0.25s ease, visibility 0.25s ease;
}

.header__panel-sublist.is-open {
  max-height: 380px;
  opacity: 1;
  visibility: visible;
  overflow: visible;
}

.header__panel-sublink {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--backgroundcontentcontent-primary);
  text-decoration: none;
  display: block;
  padding: 0 0 24px 0;
  transition: color 0.2s ease;
  width: 271px;
}

.header__panel-login {
  margin: 0 24px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-colorssecond-brand-color);
  color: var(--backgroundcontentbackground-primary);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.header__panel-login:hover {
  background: var(--backgroundcontentbackground-primary);
  color: var(--backgroundcontentcontent-primary);
}

body.header-menu-open {
  overflow: hidden;
}

.site-footer {
  width: 100%;
  background-color: var(--backgroundcontentcontent-primary);
  border-top: 1px solid #d6d6d6;
  padding: 40px 80px;
}

/* MAIN FOOTER */
.site-footer__main {
  display: flex;
  gap: 80px;
  padding: 60px 80px;
  flex-direction: column;
  align-items: center;
}

/* BRAND SECTION */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 457px;
}

.footer-brand__logo {
  width: 233px;
  height: 80px;
  object-fit: cover;
  object-position: center center;
}

.footer-social {
  display: flex;
  gap: 30px;
}

.footer-social__item {
  width: 46px;
  height: 46px;
  background-color: var(--backgroundcontentbackground-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social__item img {
  width: 24px;
  height: 24px;
}

.footer-social__item:hover {
  background-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.footer-address {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-style: normal;
}

.footer-address__text,
.footer-address__link {
  text-align: center;
  font-family: "Poppins";
  font-size: 16px;
  line-height: 24px;
  color: var(--backgroundcontentbackground-primary);
}

.footer-address__link {
  text-decoration: underline;
}

/* NAVIGATION */
.footer-nav {
  display: flex;
  gap: 60px;
  flex: 1;
  width: 100%;
  justify-content: space-between;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column__title {
  font-family: "Poppins";
  font-size: 16px;
  letter-spacing: 0.48px;
  color: #ffffff99;
}

.footer-column__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column__list a {
  display: block;
  font-family: "Poppins";
  font-size: 16px;
  line-height: 24px;
  color: var(--backgroundcontentbackground-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-column__list a:hover {
  opacity: 0.8;
}

/* BOTTOM BAR */
.site-footer__bottom {
  padding: 20px 0px;
  margin-top: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 80px;
}

.footer-bottom__copyright {
  font-family: "Poppins";
  font-size: 14px;
  color: var(--backgroundcontentbackground-primary);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-family: "Poppins";
  font-size: 14px;
  color: var(--backgroundcontentbackground-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-legal a:hover {
  opacity: 0.8;
}

.clients-container {
  display: flex;
  max-width: 1280px;
  width: 100%;
  height: 112px;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.clients-container .clients-frame {
  position: relative;
  flex: 1;
  align-self: stretch;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clients-frame img {
  width: 160px;
  height: 100px;
  object-fit: contain;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 48px;
  width: fit-content;
  padding: 0 24px;

  background-color: var(--brand-colorsmain-brand-color);
  color: var(--backgroundcontentbackground-primary);
  text-decoration: none;

  font-family: "Europa Grotesk SH", "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.32px;

  /* border-radius: 5px; */
  border: none;
  cursor: pointer;

  transition:
    background-color 0.2s ease,
    transform 0.15s ease;
}

/* Hover state (replaces state-hover div) */
.primary-button:hover {
  background-color: var(--brand-colorssecond-brand-color);
}

/* Optional: subtle press */
.primary-button:active {
  transform: translateY(1px);
}

.primary-button__text {
  white-space: nowrap;
}

.primary-button__icon {
  width: 16px;
  height: 16px;
}

.contact-us #send-mail-btn {
  position: relative;
}

.contact-us #send-mail-btn .primary-button__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: contact-btn-spin 0.7s linear infinite;
}

.contact-us #send-mail-btn.is-loading .primary-button__text,
.contact-us #send-mail-btn.is-loading .primary-button__icon {
  display: none;
}

.contact-us #send-mail-btn.is-loading .primary-button__spinner {
  display: inline-block;
}

.contact-us #send-mail-btn:disabled {
  cursor: wait;
}

@keyframes contact-btn-spin {
  to {
    transform: rotate(360deg);
  }
}

.width-100 {
  width: 100%;
}

/* Contact Us */

.contact-us {
  display: flex;
  gap: 80px;
  padding: 100px 0px 110px 0px;
}

.contact-us_background
{
  background-color:var(--backgroundcontentbackground-third);
}

.contact-us__header {
  max-width: 600px;  
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-us__form-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 600px;
}

.contact-us__title {
  font-family: var(--headline-primary-font-family);
  font-size: 40px;
  line-height: 120%;
}

.contact-us__description {
  font-family: "Poppins";
  font-size: 18px;
  line-height: 140%;
}

.contact-us__form {
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-us__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-us__row {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 16px;
}

.contact-us__field {
  border-bottom: 1px solid var(--backgroundcontentcontent-tertiary);
}

.contact-us__field input,
.contact-us__field textarea {
  width: 100%;
  border: none;
  background: transparent;
  font-family: "Poppins";
  font-size: 16px;
  padding: 12px 0;
  outline: none;
}

.contact-us__field--textarea textarea {
  resize: none;
  min-height: 96px;
}

.contact-us__consent {
  display: flex;
  gap: 8px;
  font-family: "Poppins";
  font-size: 14px;
  line-height: 140%;
  cursor: pointer;
  max-width: 524px;
}

.contact-us__consent input {
  appearance: none;
  width: 40px;
  height: 20px;
  border: 1px solid var(--backgroundcontentcontent-tertiary);
  cursor: pointer;
}

.contact-us__consent input:checked {
  background: var(--brand-colorsmain-brand-color);
  border-color: var(--brand-colorsmain-brand-color);
}

.contact-us__consent input:checked::after {
  content: "";
  position: relative;
  display: block;
  width: 6px;
  height: 10px;
  margin: 2px auto;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-us__image {
  justify-items: center;
  flex: 1;
}

.contact-us__image img {
  max-height: 776px;
  max-width: 600px;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1024 / 1195;
}

/* Contact form feedback (replaces browser alert) */
.contact-us-message-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-us-message-overlay.contact-us-message-overlay--open {
  opacity: 1;
  visibility: visible;
}

.contact-us-message-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 20px 32px 32px;
  background-color: #f8f6ed;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.contact-us-message-overlay--open .contact-us-message-dialog {
  transform: scale(1);
}

.contact-us-message-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--backgroundcontentcontent-primary);
  transition: opacity 0.2s ease;
}

.contact-us-message-dialog__close:hover {
  opacity: 0.7;
}

.contact-us-message-dialog__close-icon {
  width: 29px;
  height: 29px;
  display: block;
}

.contact-us-message-dialog__title {
  font-family: var(--headline-primary-font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 40px 16px 0;
  color: var(--backgroundcontentcontent-primary);
}

.contact-us-message-dialog__body {
  font-family: "Poppins", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 0 0 28px;
  color: var(--backgroundcontentcontent-primary);
}

.contact-us-message-dialog__actions {
  display: flex;
  justify-content: flex-end;
}

.contact-us-message-dialog__actions .primary-button {
  min-width: 120px;
  justify-content: center;
}

@media (max-width: 744px) {
  .contact-us-message-dialog {
    padding: 36px 24px 24px;
    max-width: 100%;
  }

  .contact-us-message-dialog__title {
    font-size: 22px;
    margin-right: 36px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sized-content {
  display: flex;
  /* flex-direction: column; */
  gap: 40px;
  padding: 0px 80px;
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;  
  overflow: hidden; 
}

/* INFOBLOCK PRIMARY */
.infoblock-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--brand-colorsmain-brand-color);
  overflow: hidden;
}

.infoblock-primary__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 40px 80px;
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background-color: var(--brand-colorsmain-brand-color);
  overflow: hidden;
}

/* Decorative grapes */
.infoblock-primary__content::before,
.infoblock-primary__content::after {
  content: "";
  position: absolute;
  width: 345px;
  height: 345px;

  background: url("/img/shared/grape-decore.svg") no-repeat center / contain;
  opacity: 0.2;
  pointer-events: none;
}

/* Top right grape */
.infoblock-primary__content::before {
  top: -8.8rem;
  right: 60px;
}

/* Bottom left grape */
.infoblock-primary__content::after {
  bottom: -7rem;
  left: 65px;
}

.infoblock-primary__title {  
  text-align: center;
  font-family: var(--headline-primary-font-family);
  font-weight: 500;
  font-size: 48px;
  line-height: 48px;
  color: var(--backgroundcontentbackground-primary);
}

/* Приховати планшетний варіант героя сервісів поза планшетом */
.infoblock-primary__title--tablet {
  display: none;
}

/* INFOBLOCK BLACK */
.infoblock-black {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--backgroundcontentcontent-primary);
  overflow: hidden;
}

.infoblock-black__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px 30px;
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

.infoblock-black__title {  
  text-align: center;
  font-family: var(--headline-primary-font-family);
  font-weight: 500;
  font-size: 40px;
  line-height: 120%;
  color: var(--backgroundcontentbackground-primary);
  margin: 0;
}

/* IMAGE STRIP */
.image-strip {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  height: 480px;
  width: 100%;
  max-width: 1440px;
  background-color: var(--backgroundcontentbackground-third);
}

.image-strip__scroll {
  display: flex;
  flex: 1;
  min-width: 0;
}

.image-strip__scroll img {
  flex: 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.ampersand {
    font-family: serif;
}

.notification-banner {
  position: relative;
  width: 100%;
  height: 42px;
  min-height: 42px;
  z-index: 90;
  display: flex;
  align-items: center;
  background-color: var(--brand-colorsmain-brand-color, rgba(112, 24, 55, 1));
  padding: 0 16px;
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: hidden;
}

.notification-banner__marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.notification-banner__marquee-content {
  display: flex;
  width: max-content;
  animation: notification-banner-marquee 70s linear infinite;
}

.notification-banner__marquee:hover .notification-banner__marquee-content {
  animation-play-state: paused;
}

.notification-banner__text {
  margin: 0;
  white-space: nowrap;
  padding-right: 60px;
  font-family: var(--body-primary-font-family), "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  letter-spacing: 0.02em;
}

@keyframes notification-banner-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.notification-banner__marquee-content span {
    white-space: nowrap;
    padding-left: 100vw;
}

.site-content {
  box-sizing: border-box;
}

/* —— Cookie consent (CMP-style bottom bar + blurred backdrop) —— */
body.cookie-consent--open {
  overflow: hidden;
}

/* Cookie Statement page only: full text stays sharp and scrollable while the banner is open */
body.cookie-statement-page.cookie-consent--open {
  overflow: auto;
}

body.cookie-statement-page .cookie-consent.is-open .cookie-consent__backdrop {
  display: none;
}

body.cookie-statement-page .cookie-consent.is-open {
  pointer-events: none;
}

body.cookie-statement-page .cookie-consent.is-open .cookie-consent__bar {
  pointer-events: auto;
}

.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cookie-consent.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.cookie-consent__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(7, 7, 7, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(1px);
}

.cookie-consent__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-color: var(--backgroundcontentbackground-third, #f8f6ed);
  border-top: 1px solid var(--backgroundcontentcontent-tertiary, rgba(7, 7, 7, 0.12));
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  max-height: min(92vh, 100%);
  overflow-y: auto;
}

.cookie-consent__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 80px 32px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 40px;
}

.cookie-consent__main {
  flex: 1 1 320px;
  min-width: 0;
}

.cookie-consent__title {
  font-family: var(--headline-primary-font-family), Georgia, serif;
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.2;
  color: var(--backgroundcontentcontent-primary, #070707);
  margin: 0 0 12px 0;
}

.cookie-consent__text {
  font-family: var(--body-primary-font-family), "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--backgroundcontentcontent-primary, #070707);
  margin: 0 0 12px 0;
  max-width: 52rem;
}

.cookie-consent__gpc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body-primary-font-family), "Poppins", sans-serif;
  font-size: 13px;
  color: var(--text-02-color, #767c81);
  margin: 0 0 16px 0;
}

.cookie-consent__gpc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: rgba(112, 24, 55, 0.12);
  color: var(--brand-colorsmain-brand-color, #701837);
  font-size: 11px;
  font-weight: 700;
}

.cookie-consent__link {
  color: var(--brand-colorsmain-brand-color, #701837);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__link:hover {
  text-decoration: none;
}

.cookie-consent__toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-bottom: 12px;
}

.cookie-consent__toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cookie-consent__toggle-label {
  font-family: var(--body-primary-font-family), "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--backgroundcontentcontent-primary, #070707);
  min-width: 5.5rem;
}

.cookie-consent__switch {
  position: relative;
  width: 44px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background-color: #2f2f2f;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.cookie-consent__switch:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.cookie-consent__switch--on {
  background-color: var(--brand-colorsmain-brand-color, #701837);
}

.cookie-consent__switch:focus-visible {
  outline: 2px solid var(--brand-colorsmain-brand-color, #701837);
  outline-offset: 2px;
}

.cookie-consent__switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cookie-consent__switch[aria-checked="true"] .cookie-consent__switch-knob {
  transform: translateX(20px);
}

.cookie-consent__switch:disabled .cookie-consent__switch-knob {
  transform: translateX(20px);
}

.cookie-consent__details-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--body-primary-font-family), "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-colorsmain-brand-color, #701837);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__details-btn:hover {
  text-decoration: none;
}

.cookie-consent__details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--backgroundcontentcontent-tertiary, rgba(7, 7, 7, 0.12));
}

.cookie-consent__details-text {
  font-family: var(--body-primary-font-family), "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-02-color, #767c81);
  margin: 0;
}

.cookie-consent__actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}

.cookie-consent__btn {
  font-family: var(--body-primary-font-family), "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 4px;
  padding: 12px 20px;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.cookie-consent__btn--primary {
  color: var(--text-03-color, #fff);
  background-color: var(--brand-colorsmain-brand-color, #701837);
  border: 2px solid var(--brand-colorsmain-brand-color, #701837);
}

.cookie-consent__btn--primary:hover {
  opacity: 0.92;
}

.cookie-consent__btn--outline {
  color: var(--brand-colorsmain-brand-color, #701837);
  background-color: transparent;
  border: 2px solid var(--brand-colorsmain-brand-color, #701837);
}

.cookie-consent__btn--outline:hover {
  background-color: rgba(112, 24, 55, 0.06);
}

@media (max-width: 1023px) {
  .cookie-consent__inner {
    padding: 24px 32px 28px;
    flex-direction: column;
  }

  .cookie-consent__actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
  }

  .cookie-consent__btn {
    flex: 1 1 auto;
    min-width: 140px;
  }
}

@media (max-width: 743px) {
  .cookie-consent__inner {
    padding: 20px 20px 24px;
  }

  .cookie-consent__toggles {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent__toggle-row {
    width: 100%;
    justify-content: space-between;
  }

  .cookie-consent__actions {
    flex-direction: column;
  }

  .cookie-consent__btn {
    width: 100%;
  }
}

@media (max-width: 1439px) {
    .site-footer__main {
        flex-direction: column;
        gap: 48px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (min-width: 744px) and (max-width: 1439px) {
  .infoblock-primary__title--default {
    display: none !important;
  }

  .infoblock-primary__title--tablet {
    display: block !important;
  }

  .infoblock-primary__title--tablet br {
    display: block;
  }

  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    min-height: 80px;
    height: 80px;
    width: 100%;
    max-width: 100%;
    background-color: transparent;
    box-sizing: border-box;
  }

  .header .logo {
    width: 200px;
    height: 48px;
    object-fit: cover;
    object-position: center center;
  }

  .header__logo-link {
    order: 2;
    margin: 0;
  }

  .header__toggler {
    display: flex;
    order: 1;
    margin-right: 0;
    color: var(--backgroundcontentbackground-primary);
  }

  .header__desk {
    display: flex !important;
    order: 3;
    justify-content: flex-end;
    align-items: center;
  }

  .header__desk .navbar {
    display: flex;
    align-items: center;
    gap: 0;
  }

  .header__desk .navbar .text-wrapper,
  .header__desk .navbar .div-wrapper {
    display: none !important;
  }

  .header__desk .secondary-button {
    display: inline-flex !important;
  }

  .header__backdrop,
  .header__panel {
    display: flex;
  }

  /* Планшетне меню: хрестик у першому рядку, посилання + Login у другому; Services без випадаючого */
  .header__panel {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    max-height: 90vh;
    transform: translateY(-100%);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 32px 24px;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  }

  .header__panel.is-open {
    transform: translateY(0);
  }

  .header__panel-close {
    position: relative;
    top: auto;
    right: auto;
    order: 1;
    align-self: flex-start;
    color: var(--backgroundcontentcontent-primary);
    margin-bottom: 16px;
  }

  .header__panel-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    order: 2;
  }

  .header__panel-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0;
    gap: 8px 24px;
  }

  .header__panel-link {
    padding: 8px 0;
    border: none;
    border-bottom: none;
    font-size: 16px;
    font-weight: 400;
    width: auto;
  }

  .header__panel-link--tablet-services {
    display: inline-block;
  }

  .header__panel-group {
    display: none;
  }

  .header__panel-link--toggle {
    border: none;
  }

  .header__panel-login {
    margin: 0;
    padding: 12px 24px;
    border-radius: 0;
  }

  br {
    display: none;
  }

  .clients {
    padding: 0 10px 20px 10px;
    overflow: hidden;
  }

  .clients .sized-content {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    width: 100%;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .clients .sized-content::-webkit-scrollbar {
    display: none;
  }

  .clients .clients-container {
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
    gap: 24px;
    justify-content: flex-start;
    height: 54px;
  }

  .clients .clients-container .clients-frame {
    flex: 0 0 auto;
  }

  .clients .clients-container .clients-frame img {
    max-height: 48px;
    object-fit: contain;
  }

  /* Планшет: список клієнтів по центру по горизонталі */
  .clients .sized-content {
    display: flex;
    justify-content: center;
  }

  .clients .clients-container {
    min-width: min-content;
    justify-content: center;
  }

  .infoblock-primary__content {
    padding: 40px 32px;
    gap: 24px;
    box-sizing: border-box;
  }

  .infoblock-primary__content::before,
  .infoblock-primary__content::after {
    width: 136px;
    height: 217px;
    opacity: 0.2;
  }

  .infoblock-primary__content::before {
    top: -70px;
    right: 0;
  }

  .infoblock-primary__content::after {
    bottom: -7px;
    left: 25px;
    width: 98px;
    height: 156px;
  }

  .infoblock-primary__title {
    font-size: 32px;
    line-height: 1.25;
  }

  .infoblock-black__content {
    padding: 40px 32px;
    gap: 24px;
    box-sizing: border-box;
  }

  .infoblock-black__title {
    font-size: 32px;
    line-height: 1.25;
  }

  .sized-content {
    max-width: 744px;
    padding: 0 32px;
  }

  .image-strip {
    height: 278px;
    overflow: hidden;
  }

  .image-strip__scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
  }

  .image-strip__scroll::-webkit-scrollbar {
    display: none;
  }

  .image-strip__scroll img {
    flex: 0 0 auto;
    height: 100%;
    width: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  .contact-us {
    flex-direction: column;
    padding: 40px 0px;
    gap: 40px;
  }

  .contact-us__form-section {
    max-width: 100%;
    gap: 24px;
  }

  .contact-us__header {
    gap: 16px;
  }

  .contact-us__title {
    font-size: 32px;
    line-height: 1.2;
    color: var(--backgroundcontentcontent-primary);
  }

  .contact-us__description {
    font-size: 16px;
    line-height: 1.4;
    color: var(--backgroundcontentcontent-primary);
  }

  .contact-us__form {
    padding: 0;
    gap: 24px;
  }

  .contact-us__fields {
    padding: 24px;
    gap: 20px;
  }

  .contact-us__row {
    grid-template-columns: 1fr;
  }

  .contact-us__field input,
  .contact-us__field textarea {
    padding: 12px 0;
    font-size: 16px;
  }

  .contact-us__field--textarea textarea {
    min-height: 120px;
  }

  .contact-us__consent {
    padding: 0 24px;
    font-size: 14px;
    max-width: 100%;
  }

  .contact-us__consent input {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .contact-us__submit-wrap {
    padding: 24px;
  }

  .contact-us #send-mail-btn.primary-button {
    width: 100%;
    justify-content: center;
  }

  .contact-us__image {
    width: 100%;
  }

  .contact-us__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .site-footer {
    padding: 40px 32px;
  }

  .site-footer .sized-content {
    padding: 0;
  }

  .site-footer__main {
    padding: 48px 0 32px;
    gap: 40px;
    align-items: center;
  }

  .footer-brand {
    gap: 24px;
  }

  .footer-brand__logo {
    width: 220px;
    max-width: 100%;
    height: 80px;
    object-fit: cover;
    object-position: center center;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    align-items: start;
    gap: 32px 40px;
  }

  .footer-nav .footer-column:nth-child(3) {
    grid-column: 1 / -1;
  }

  .footer-column {
    width: 100%;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-column__title {
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .footer-column__list a {
    padding: 0 0 15px 0;
    font-size: 14px;
    line-height: 150%;
  }

  .site-footer__bottom {
    padding: 0;
    margin-top: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0;
    text-align: center;
  }

  .footer-legal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-legal a {
    display: inline;
    padding: 0;
  }

  .footer-bottom__copyright {
    font-size: 14px;
  }
}

@media (max-width: 743px) {
  .header {
    padding: 0 20px;
    min-height: 80px;
    height: 80px;
    width: 100%;
    max-width: 100%;
    top: 62px;
    background-color: var(--backgroundcontentcontent-primary);
  }

  .header .logo {
    width: 200px;
    height: 48px;
    object-fit: cover;
    object-position: center center;
  }

  .header__desk {
    display: none !important;
  }

  .header__toggler {
    display: flex;
  }

  .header__backdrop,
  .header__panel {
    display: flex;
  }

  .header__panel-link--tablet-services {
    display: none;
  }

  .notification-banner {
    min-height: 65px;
  }

  br {
    display: none;
  }

  .clients {
    padding: 0 10px 20px 10px;
    overflow: hidden;
  }

  .clients .sized-content {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    width: 100%;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .clients .sized-content::-webkit-scrollbar {
    display: none;
  }

  .clients .clients-container {
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
    gap: 24px;
    justify-content: flex-start;
    height: 54px;
  }

  .clients .clients-container .clients-frame {
    flex: 0 0 auto;
  }

  .clients .clients-container .clients-frame img {
    max-height: 48px;
    object-fit: contain;
  }

  .infoblock-primary__content {
    padding: 40px 16px;
    gap: 24px;
    box-sizing: border-box;
  }

  .infoblock-primary__content::before,
  .infoblock-primary__content::after {
    width: 136px;
    height: 217px;
    opacity: 0.2;
  }

  .infoblock-primary__content::before {
    top: -70px;
    right: 0;
  }

  .infoblock-primary__content::after {
    bottom: -7px;
    left: 25px;
    width: 98px;
    height: 156px;
  }

  .infoblock-primary__title {
    font-size: 24px;
    line-height: 1.25;
  }

  .infoblock-black__content {
    padding: 40px 16px;
    gap: 24px;
    box-sizing: border-box;
  }

  .infoblock-black__title {
    font-size: 24px;
    line-height: 1.25;
  }

  .hero .primary-button {
    width: unset;
  }

  .sized-content {
    max-width: 375px;
    padding: 0 16px;
  }

  .image-strip {
    height: 278px;
    overflow: hidden;
  }

  .image-strip__scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
  }

  .image-strip__scroll::-webkit-scrollbar {
    display: none;
  }

  .image-strip__scroll img {
    flex: 0 0 auto;
    height: 100%;
    width: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  .contact-us {
    flex-direction: column;
    padding: 40px 0px;
    gap: 40px;
  }

  .contact-us__form-section {
    max-width: 100%;
    gap: 24px;
  }

  .contact-us__header {
    gap: 16px;
  }

  .contact-us__title {
    font-size: 24px;
    line-height: 1.2;
    color: var(--backgroundcontentcontent-primary);
  }

  .contact-us__description {
    font-size: 16px;
    line-height: 1.4;
    color: var(--backgroundcontentcontent-primary);
  }

  .contact-us__form {
    padding: 0;
    gap: 24px;
  }

  .contact-us__fields {
    padding: 24px;
    gap: 20px;
  }

  .contact-us__row {
    grid-template-columns: 1fr;
  }

  .contact-us__field input,
  .contact-us__field textarea {
    padding: 12px 0;
    font-size: 16px;
  }

  .contact-us__field--textarea textarea {
    min-height: 120px;
  }

  .contact-us__consent {
    padding: 0 24px;
    font-size: 14px;
    max-width: 100%;
  }

  .contact-us__consent input {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .contact-us__submit-wrap {
    padding: 24px;
  }

  .contact-us #send-mail-btn.primary-button {
    width: 100%;
    justify-content: center;
  }

  .contact-us__image {
    width: 100%;
  }

  .contact-us__image img {
    width: 100%;
    height: 731px;
    object-fit: cover;
    display: block;
    max-height: 400px;
  }

  .site-footer {
    padding: 40px 16px;
  }

  .site-footer .sized-content {
    padding: 0;
  }

  .site-footer__main {
    padding: 48px 0 32px;
    gap: 40px;
    align-items: center;
  }

  .footer-brand {
    gap: 24px;
  }

  .footer-brand__logo {
    width: 220px;
    max-width: 100%;
    height: 80px;
    object-fit: cover;
    object-position: center center;
  }

  .footer-nav {
    width: 100%;
    align-items: flex-start;
    gap: 32px;
  }

  .footer-column {
    width: 100%;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-column__title {
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .footer-column__list a {
    padding: 0 0 15px 0;
    font-size: 14px;
    line-height: 150%;
  }

  .site-footer__bottom {
    padding: 24px 0 32px;
    margin-top: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 0;
    text-align: left;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0;
    width: 100%;
    order: 1;
  }

  .footer-legal a {
    display: block;
    padding: 12px 0;
  }

  .footer-bottom__copyright {
    font-size: 14px;
    order: 2;
  }
}
