/*!
Theme Name: Restartwork
Theme URI: https://qodeum.com/
Author: qodeum.com
Author URI: https://qodeum.com/
Description:
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: restartwork
Tags:
----------------------------------------------------------------------------------------- */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red; */
}

/*  Restartwork motion polish
----------------------------------------------------------------------------------------- */
:root {
  --restartwork-ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --restartwork-photo-radius: 18px;
  --restartwork-soft-accent: #3e4940;
  --restartwork-soft-accent-bg: rgba(62, 73, 64, 0.1);
}

html {
  scroll-behavior: smooth;
}

.masthead {
  background: rgba(245, 241, 230, 0.56);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 18px 44px rgba(62, 73, 64, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  transition: background-color 0.5s var(--restartwork-ease-out),
    border-color 0.5s var(--restartwork-ease-out),
    box-shadow 0.5s var(--restartwork-ease-out);
}

.apple-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 34px, 0) scale(0.985);
  transition: opacity 0.9s var(--restartwork-ease-out),
    filter 0.9s var(--restartwork-ease-out),
    transform 0.9s var(--restartwork-ease-out);
  transition-delay: var(--apple-delay, 0ms);
  will-change: opacity, filter, transform;
}

.apple-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.thumbnail,
.restartwork-media-card,
.card {
  transform: translateZ(0);
}

.thumbnail:hover .thumbnail-media,
.card:hover .thumbnail-media {
  transform: scale(1.035);
}

.button,
.button-round,
.site-branding {
  transition: transform 0.45s var(--restartwork-ease-out),
    opacity 0.45s var(--restartwork-ease-out),
    background-color 0.45s var(--restartwork-ease-out),
    color 0.45s var(--restartwork-ease-out);
}

.button:hover,
.button-round:hover,
.site-branding:hover {
  transform: translateY(-2px);
}

.button,
.restartwork-whatsapp-float,
.restartwork-contact-form-card,
.restartwork-review-card,
.restartwork-youtube-card {
  animation: restartwork-soft-pulse 5.4s ease-in-out infinite;
}

@keyframes restartwork-soft-pulse {
  0%,
  100% {
    box-shadow: 0 18px 44px rgba(62, 73, 64, 0.08);
  }
  50% {
    box-shadow: 0 22px 58px rgba(62, 73, 64, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .apple-reveal,
  .thumbnail-media,
  .restartwork-media-card img,
  .button,
  .button-round,
  .site-branding,
  .restartwork-contact-form-card,
  .restartwork-review-card,
  .restartwork-youtube-card {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
    transition: none;
  }
}

*:focus,
*:active {
  outline: none;
}

:root {
  /* font */
  --font-sans-serif: "Montserrat", sans-serif;

  /* color */
  --color-black: #000000;
  --color-black-light: #171717;
  --color-black-trans: rgba(0, 0, 0, 0.08);

  --color-white: #ffffff;
  --color-white-trans: rgba(255, 255, 255, 0.08);

  --color-accent: #3e4940;
  --color-accent-light: #bec1ae;
  --color-accent-trans: rgba(62, 73, 64, 0.16);

  --color-beige: #f5f1e6;

  --color-gray: #a8a8a8;
  --color-gray-dark: #787878;
  --color-gray-light: #f8f8f8;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

/*  html
------------------------------------------ */
html {
  line-height: normal;
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.58;
  font-display: auto;
  font-family: var(--font-sans-serif);

  /* style */
  color: var(--color-accent);
  background: var(--color-beige);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 576px) {
  /* body */
  body {
    font-size: 14px;
  }
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 1280px) {
  .hide-1280 {
    display: none !important;
  }
}

@media only screen and (max-width: 992px) {
  .hide-992 {
    display: none !important;
  }
}

@media only screen and (max-width: 768px) {
  .hide-768 {
    display: none !important;
  }
}

@media only screen and (max-width: 576px) {
  .hide-576 {
    display: none !important;
  }
}

/*  responsive
------------------------------------------ */
@media only screen and (min-width: 1280px) {
  .show-1280 {
    display: none !important;
  }
}

@media only screen and (min-width: 992px) {
  .show-992 {
    display: none !important;
  }
}

@media only screen and (min-width: 768px) {
  .show-768 {
    display: none !important;
  }
}

@media only screen and (min-width: 576px) {
  .show-576 {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  HTML
 *
 *  ——
 *  ——
 *
----------------------------------------------------------------------------------------- */

:root {
  /* heading */
  --font-size-h1: clamp(44px, 4vw, 60px);
  --font-size-h2: clamp(32px, 2.9vw, 42px);
  --font-size-h3: clamp(26px, 2.2vw, 34px);
  --font-size-h4: clamp(22px, 1.8vw, 28px);
  --font-size-h5: clamp(19px, 1.4vw, 22px);
  --font-size-h6: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin: 0 !important;
  font-family: var(--font-serif);
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

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

a:hover {
  cursor: pointer;
}

p {
  line-height: 1.62;
}

ul,
ol,
dl {
  line-height: 1.64;
  list-style: none;
}

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

hr {
  border: none;
  border-bottom: 1px solid var(--color-accent-trans);
}

blockquote {
  padding: 16px;
  position: relative;
  background: var(--color-accent-trans);
  border-left: 2px solid var(--color-accent);
}

/*  table
------------------------------------------ */
table,
td,
th {
  border: 1px solid var(--color-black-trans);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
}

tr:nth-child(even) {
  background-color: var(--color-accent-trans);
}

td,
th {
  padding: 16px;
  text-align: left;
  position: relative;
}

/* thaed */
thead {
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-accent);
}

/*  responsive max width
------------------------------------------ */
@media only screen and (max-width: 992px) {
  :root {
    /* heading */
    --font-size-h1: 38px;
    --font-size-h2: 32px;
    --font-size-h3: 27px;
    --font-size-h4: 24px;
    --font-size-h5: 20px;
    --font-size-h6: 16px;
  }
}

@media only screen and (max-width: 640px) {
  :root {
    --font-size-h1: 30px;
    --font-size-h2: 29px;
    --font-size-h3: 24px;
  }

  .headline,
  .headline-title,
  .headline-textarea {
    max-width: 100%;
  }

  .headline-title,
  .headline-textarea {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero .headline-title,
  .hero .headline-textarea {
    width: 100%;
    max-width: calc(100vw - 56px);
  }

  .hero .headline-title {
    line-height: 1.12;
  }

  .hero .headline-textarea {
    font-size: 15px;
    line-height: 1.58;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  .container-large,
  .site-main,
  .hero {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .flexgrid,
  [class*="col-"] {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .headline-textarea p,
  .blocks_logos_partners img {
    max-width: 100%;
  }

  .blocks_logos_partners img {
    height: auto;
  }

  .headline,
  .headline-title,
  .headline-textarea,
  .headline-textarea p,
  .block_logos_partners,
  .blocks_logos_partners,
  .blocks_logos_partners img,
  .img1,
  .img1_mobile,
  .restartwork-hero-photo,
  .restartwork-video-placeholder {
    max-width: calc(100vw - 64px);
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  site header
 *
 *  —— masthead
 *  —— mastside
 *
----------------------------------------------------------------------------------------- */

:root {
  /* site header: masthead */
  --masthead-height: 120px;
}

/* site header */
.site-header {
  top: 0;
  width: 100%;
  z-index: 999;
  position: sticky;
}

.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.16)),
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.42), transparent 42%);
}

/* onscroll / site header */
.onscroll .masthead {
  border-bottom-color: rgba(62, 73, 64, 0.12);
  background: rgba(245, 241, 230, 0.68);
  box-shadow: 0 20px 48px rgba(62, 73, 64, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .masthead,
  .onscroll .masthead {
    background: rgba(245, 241, 230, 0.94);
  }
}

/*  site header: masthead
----------------------------------------------------------------------------------------- */
.masthead,
.masthead-panel,
.masthead [class*="col-"] {
  display: flex;
  align-items: center;
  gap: 0 var(--section-gap);
}

/* masthead */
.masthead {
  font-weight: 600;
  height: var(--masthead-height);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(245, 241, 230, 0.56);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 18px 44px rgba(62, 73, 64, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  transition: background 0.5s var(--restartwork-ease-out),
    border-color 0.5s var(--restartwork-ease-out),
    box-shadow 0.5s var(--restartwork-ease-out);
}

.masthead > .container-fluid {
  position: relative;
  z-index: 1;
}

/* masthead column */
.masthead [class*="col-"] {
  flex-direction: row;
  justify-content: space-between;
}

/*  masthead navigation
------------------------------------------ */
.masthead-navigation {
  --menu-item-height: 40px;
}

/* masthead menu */
.masthead-navigation .menu{
  gap: 32px;
  display: flex;
}

/* masthead navigation menu item */
.masthead-navigation .menu-item {
  gap: 4px;
  display: flex;
  cursor: pointer;
  position: relative;
  align-items: center;
  transition: ease-in-out 0.16s;
  justify-content: space-between;
  height: var(--menu-item-height);
}

.masthead-navigation .menu-item:hover,
.masthead-navigation [class*="current-menu-"] {
  color: var(--color-accent-light);
}

/* masthead navigation menu item has children */
.masthead-navigation .menu-item-has-children::after {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
}

/* masthead navigation sub menu */
.masthead-navigation .sub-menu {
  gap: 8px;
  left: 50%;
  z-index: 1;
  top: calc(var(--menu-item-height) - 0px);
  padding: 32px;
  display: none;
  min-width: 256px;
  position: absolute;
  border-radius: 0px;
  flex-direction: column;
  transform: translateX(-50%);
  background: var(--color-white);
  color: var(--color-black) !important;

  box-shadow: 0 0 16px rgba(0, 0, 0, 0.04);
}

.masthead-navigation .sub-menu .menu-item {
  height: unset;
}

/* masthead navigation sub menu first level */
.masthead-navigation .menu > *::after {
  display: none;
  /* background: url("https://api.iconify.design/carbon/chevron-down.svg?color=black")
    no-repeat center center / contain; */
}

.masthead-navigation .menu > *:hover > .sub-menu {
  display: flex;
}

/* masthead navigation sub menu second level */
.masthead-navigation .menu > * > * > *::after {
  background: url("https://api.iconify.design/carbon/chevron-right.svg?color=black")
    no-repeat center center / contain;
}

.masthead-navigation .menu > * > * > *:hover > .sub-menu {
  top: 0;
  left: 100%;
  display: flex;
}

/* --------------------------------------------------------------------------------------
 *
 *  Site Footer
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */
.site-footer {
  padding: clamp(72px, 7vw, 118px) 0 28px;
  color: var(--color-accent);
  background: #fbfaf6;
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  /* site footer */
  .site-footer {
    background: #fbfaf6;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Site Main
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */
:root {
  /* section */
  --section-gap: 112px;
}

section {
  gap: 32px;
  display: flex;
  flex-direction: column;
  padding: var(--section-gap) 0;
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 1280px) {
  :root {
    /* section */
    --section-gap: 56px;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Component
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */

/*  component: widget
----------------------------------------------------------------------------------------- */
.widget {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* widget --sticky */
.widget.--sticky {
  top: calc(var(--masthead-height) + 32px);
  position: sticky;
}

/*  widget title
------------------------------------------ */
.widget-title {
  font-weight: 600;
}

/*  widget group
------------------------------------------ */
.widget-group {
  gap: 32px;
  display: flex;
  justify-content: space-between;
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 576px) {
  /* widget group */
  .widget-group {
    flex-direction: column;
  }
}

/*  component: form
----------------------------------------------------------------------------------------- */
form {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/*  label
------------------------------------------ */
label {
  gap: 8px;
  display: flex;
  font-weight: 600;
  align-items: baseline;
}

/*  fieldset
------------------------------------------ */
fieldset {
  margin: 0;
  height: 100%;
  padding: 16px;
  border-radius: 32px;
  border: 1px solid var(--color-accent-light);
}

/* legend */
legend {
  font-weight: 600;
  padding: 0 16px;
}

/*  field
------------------------------------------ */
input,
textarea {
  width: 100%;
  border: none;
  padding: 0 16px;
  background: transparent;
  color: inherit !important;
}

textarea {
  height: 100%;
  max-height: 128px;
}

input[type="radio"],
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  background: transparent;
}

input[type="submit"] {
  max-width: max-content;
}

/*  contact from 7
------------------------------------------ */

/* .wpcf7-form-control-wrap */
.wpcf7-form-control-wrap {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* wpcf7-form-control */
.wpcf7-form-control {
  gap: 16px;
  display: flex;
}

/* .wpcf7-list-item */
.wpcf7-list-item {
  gap: 8px;
  margin: 0;
  display: flex;
  align-items: center;
}

/* .wpcf7-spinne */
.wpcf7-spinner {
  top: 50%;
  right: 25px;
  position: absolute;
  transform: translateY(-50%);
}

/* .wpcf7-response-output */
.wpcf7-response-output {
  border-radius: 0px;
  border-width: 2px;
  margin: 0 !important;
  padding: 16px !important;
}

/*  component: accordion
----------------------------------------------------------------------------------------- */
.accordion {
  position: relative;
}

/*  accordion button
------------------------------------------ */
.accordion-button {
  cursor: pointer;
  position: relative;
}

.accordion-button::selection {
  background: transparent;
}

/*  accordion content
------------------------------------------ */
.accordion-content {
  display: none;
}

/*  component: tab
----------------------------------------------------------------------------------------- */

/*  tab content
----------------------------------------- */
.tab-content {
  height: 100%;
  display: none;
  overflow: hidden;
  position: relative;
  animation: fadeEffect 0.16s;
  -webkit-animation: fadeEffect 0.16s;
}

/* tab content active */
.tab-content.active {
  display: block;
}

/*  tab animation
----------------------------------------- */
@-webkit-keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*  component: wp multilang
----------------------------------------------------------------------------------------- */

/*  wpm switcher list
----------------------------------------- */
.wpm-switcher-list {
  gap: 32px;
  display: flex;
}

/*  wpm item language
----------------------------------------- */
/* Контейнер мовного меню: горизонтальний напрямок + відступи */
ul#language-menu,
ul#language-menu-sidebar {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Загальні стилі для пунктів мов */
.trp-language-switcher-container span,
.trp-language-switcher-container a {
  opacity: 0.64;
  color: inherit !important;
  transition: ease-in-out 0.16s;
}

/* Активна мова або ховер */
.trp-language-switcher-container.current-language-menu-item span,
.trp-language-switcher-container span:hover {
  opacity: 1;
  color: var(--color-accent);
}

#masthead-menu{
	display: flex;
	flex-direction: row;
	gap: 32px;
}

/*  component: sidebar
----------------------------------------------------------------------------------------- */
:root {
  --sidebar-width: 320px;
}

/* sidebar */
.sidebar {
  top: 0;
  right: 0;
  height: 100%;
  position: fixed;
  overflow-y: scroll;
  color: var(--color-beige);
  width: var(--sidebar-width);
  transform: translateX(100%);
  background: var(--color-black-light);
  transition: transform 0.16s ease-out;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar > * {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar > *:not(:last-child) {
  border-bottom: 1px solid var(--color-white-trans);
}

/* sidebar head */
.sidebar-head {
  padding: 0 32px;
  min-height: calc(var(--masthead-height) * 1);
}

/* sidebar panel */
.sidebar-panel {
  gap: 16px;
  padding: 32px;
}

/*  sidebar navigation
------------------------------------------ */
.sidebar-navigation .menu *::selection {
  background: transparent;
}

/* sidebar navigation menu-item */
.sidebar-navigation .menu .menu-item {
  position: relative;
}

.sidebar-navigation .menu .menu-item:not(:last-child) {
  border-bottom: 1px solid var(--color-white-trans);
}

/* sidebar navigation menu-item > a */
.sidebar-navigation .menu .menu-item > a {
  z-index: 1;
  display: block;
  position: relative;
  padding: 16px 0 16px 32px;
  max-width: calc(100% - 80px);
  transition: ease-in-out 0.16s;
}

.sidebar-navigation .menu .menu-item > a:hover,
.sidebar-navigation .menu [class*="current-menu-"] > a {
  color: var(--color-accent);
}

.sidebar-navigation .menu .menu-item > a:hover {
  text-decoration: underline;
}

/* sidebar navigation menu-item-has-children > a */
.sidebar-navigation .menu .menu-item-has-children > a {
  display: inline-block;
}

/* sidebar navigation menu-item > accordion-button */
.sidebar-navigation .menu-item > span {
  right: 0;
  top: 14px;
  width: 100%;
  height: 24px;
  opacity: 0.32;
  display: block;
  cursor: pointer;
  position: absolute;
  transition: ease-in-out 0.16s;
  background: url("https://api.iconify.design/mdi-light/chevron-down.svg?color=white")
    no-repeat right 32px center / contain;
}

.sidebar-navigation .menu-item > span {
  opacity: 1;
}

/* іidebar navigation sub-menu */
.sidebar-navigation .sub-menu {
  background: var(--color-white-trans);
}

/*  component: headline
----------------------------------------------------------------------------------------- */
.headline {
  gap: 14px;
  display: flex;
  max-width: 1180px;
  flex-direction: column;
}

/* headline center */
.headline.center {
  text-align: center;
  align-items: center;
}

.headline.center * {
  text-align: center;
}

.headline-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/*  headline label
------------------------------------------ */
.headline-label {
  font-weight: 600;
}

/*  headline title
------------------------------------------ */
.headline-title {
  font-weight: 600;
  line-height: 1.08;
  font-size: var(--font-size-h2);
}

/* <h1> headline title */
h1.headline-title {
  font-size: var(--font-size-h1);
}

.headline-textarea {
  max-width: 1120px;
  font-size: clamp(15px, 1.08vw, 17px);
  line-height: 1.62;
}

.headline-textarea p {
  margin-top: 0;
}

.headline-textarea p:last-child {
  margin-bottom: 0;
}

/*  component: contact
----------------------------------------------------------------------------------------- */

/*  contact
------------------------------------------ */
.contact {
  display: flex;
  line-height: 1.64;
  flex-direction: column;
}

/* contact label */
.contact-label {
  font-weight: 600;
}

/* contact social */
.contact-social {
  font-size: 24px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  border-radius: 999px;
  opacity: 0.9;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.contact-social svg {
  width: 1em;
  height: 1em;
  display: block;
}

.contact-social:hover {
  opacity: 1;
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.08);
}

/*  contact group
------------------------------------------ */
.contact-group {
  gap: 0 32px;
  display: flex;
  flex-direction: column;
}

/* contact group inline */
.contact-group.inline {
  flex-direction: row;
  align-items: center;
}

.restartwork-contact-socials {
  gap: 12px;
  margin-top: 22px;
}

.restartwork-social-links {
  gap: 12px;
  display: inline-flex;
  align-items: center;
}

.restartwork-sidebar-socials {
  margin-left: 2px;
}

.restartwork-section-heading {
  gap: 12px;
  display: flex;
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
  align-items: center;
  flex-direction: column;
}

.restartwork-section-heading h2 {
  font-size: var(--font-size-h2);
  line-height: 1.12;
}

.restartwork-contact-layout {
  gap: clamp(32px, 5vw, 72px);
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
}

.restartwork-contact-info {
  gap: 0;
  display: flex;
  flex-direction: column;
}

.restartwork-contact-item {
  gap: 24px;
  display: grid;
  padding: 28px 0;
  align-items: center;
  grid-template-columns: 84px minmax(0, 1fr);
  border-bottom: 1px solid rgba(62, 73, 64, 0.1);
}

.restartwork-contact-item p {
  margin: 0 0 6px;
  color: rgba(62, 73, 64, 0.62);
}

.restartwork-contact-item a,
.restartwork-contact-item strong {
  color: var(--color-accent);
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.22;
  text-decoration: none;
}

.restartwork-contact-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  color: var(--color-beige);
  background: var(--restartwork-soft-accent);
  box-shadow: 0 16px 34px rgba(62, 73, 64, 0.12);
}

.restartwork-contact-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.restartwork-map-placeholder {
  gap: 18px;
  display: flex;
  min-height: 220px;
  margin-top: 34px;
  padding: 34px;
  overflow: hidden;
  position: relative;
  align-items: flex-end;
  border-radius: 24px;
  color: var(--color-accent);
  border: 1px solid rgba(62, 73, 64, 0.1);
  background:
    linear-gradient(145deg, rgba(245, 241, 230, 0.94), rgba(216, 214, 203, 0.42)),
    repeating-linear-gradient(45deg, rgba(62, 73, 64, 0.04) 0 1px, transparent 1px 24px);
  box-shadow: 0 18px 44px rgba(62, 73, 64, 0.08);
}

.restartwork-map-placeholder::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(62, 73, 64, 0.18);
}

.restartwork-map-pin {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50% 50% 50% 0;
  background: var(--restartwork-soft-accent);
  transform: rotate(-45deg);
  box-shadow: 0 16px 38px rgba(62, 73, 64, 0.2);
}

.restartwork-map-pin::after {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  margin: 12px auto;
  border-radius: 50%;
  background: #fff;
}

.restartwork-map-embed {
  min-height: 280px;
  padding: 0;
  align-items: stretch;
  background: rgba(245, 241, 230, 0.72);
}

.restartwork-map-embed::before {
  display: none;
}

.restartwork-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.82) contrast(0.94);
}

.restartwork-map-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  color: var(--color-accent);
  text-decoration: none;
  background: rgba(245, 241, 230, 0.84);
  box-shadow: 0 18px 46px rgba(62, 73, 64, 0.18);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.restartwork-map-overlay .restartwork-map-pin {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  box-shadow: 0 10px 24px rgba(62, 73, 64, 0.18);
}

.restartwork-map-overlay .restartwork-map-pin::after {
  width: 12px;
  height: 12px;
  margin-top: 9px;
}

.restartwork-map-overlay span:last-child {
  display: grid;
  gap: 2px;
}

.restartwork-map-overlay strong {
  font-size: 15px;
  line-height: 1.1;
}

.restartwork-map-overlay small {
  color: rgba(62, 73, 64, 0.68);
  font-size: 13px;
  line-height: 1.25;
}

.restartwork-contact-form-card {
  padding: clamp(34px, 4.8vw, 64px);
  border-radius: 28px;
  color: var(--color-accent);
  background: rgba(245, 241, 230, 0.86);
  border: 1px solid rgba(62, 73, 64, 0.08);
  box-shadow: 0 22px 64px rgba(62, 73, 64, 0.08);
}

.restartwork-contact-form-card h2 {
  margin-bottom: 14px !important;
  line-height: 1.12;
}

.restartwork-contact-form-card > p {
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(62, 73, 64, 0.68);
}

.restartwork-contact-form-card form {
  gap: 22px;
}

.restartwork-contact-form-card label {
  color: rgba(62, 73, 64, 0.82);
  font-size: 18px;
  line-height: 1.3;
}

.restartwork-contact-form-card fieldset {
  padding: 0;
  border: none;
  border-radius: 0;
}

.restartwork-contact-form-card legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 17px;
  color: rgba(62, 73, 64, 0.72);
}

.restartwork-contact-form-card input,
.restartwork-contact-form-card textarea,
.restartwork-contact-form-card select {
  min-height: 62px;
  padding: 0 22px;
  color: var(--color-accent) !important;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(62, 73, 64, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.restartwork-contact-form-card input:focus,
.restartwork-contact-form-card textarea:focus,
.restartwork-contact-form-card select:focus {
  border-color: rgba(62, 73, 64, 0.42);
  box-shadow: 0 0 0 4px rgba(62, 73, 64, 0.08);
}

.restartwork-contact-form-card input[type="file"] {
  display: flex;
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  cursor: pointer;
  color: rgba(62, 73, 64, 0.72) !important;
  background: rgba(255, 255, 255, 0.5);
}

.restartwork-contact-form-card input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-beige);
  font-weight: 700;
  cursor: pointer;
}

.restartwork-contact-form-card .restartwork-form-field-resume small {
  display: block;
  margin-top: 8px;
  color: rgba(62, 73, 64, 0.58);
  font-size: 13px;
}

.restartwork-contact-form-card textarea {
  min-height: 148px;
  padding-top: 18px;
  resize: vertical;
}

.restartwork-contact-form-card input[type="checkbox"] {
  min-height: 0;
  width: 20px;
  min-width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  border-radius: 6px;
  accent-color: var(--color-accent);
}

.restartwork-contact-form-card .restartwork-form-privacy label {
  gap: 12px;
  display: flex;
  align-items: flex-start;
  color: rgba(62, 73, 64, 0.72);
  font-size: 15px;
  line-height: 1.5;
}

.restartwork-contact-form-card .restartwork-form-privacy a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.restartwork-contact-form-card input[type="submit"] {
  width: 100%;
  max-width: 100%;
  height: 64px;
  color: #fff !important;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 20px;
  background: var(--color-accent);
  box-shadow: 0 18px 40px rgba(62, 73, 64, 0.2);
}

.restartwork-contact-form-card input[type="submit"]:hover {
  background: #2f3831;
  box-shadow: 0 22px 46px rgba(62, 73, 64, 0.26);
}

.restartwork-contact-form-card .wpcf7-list-item {
  margin: 0;
}

.restartwork-contact-form-card .wpcf7-not-valid-tip,
.restartwork-contact-form-card .wpcf7-response-output {
  color: var(--color-accent);
}

.restartwork-footer-bottom {
  gap: 18px;
  display: flex;
  margin-top: 42px;
  padding-top: 22px;
  align-items: center;
  justify-content: space-between;
  color: rgba(62, 73, 64, 0.58);
  border-top: 1px solid rgba(62, 73, 64, 0.1);
}

.restartwork-footer-bottom a {
  color: rgba(62, 73, 64, 0.62);
  text-decoration: none;
}

.restartwork-footer-bottom a:hover {
  color: var(--color-accent);
}

.restartwork-testimonials-section {
  overflow: hidden;
  background: var(--color-beige);
}

.restartwork-review-rail {
  gap: 22px;
  display: grid;
  overflow-x: auto;
  padding: 8px 0 18px;
  scroll-snap-type: x mandatory;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 420px);
}

.restartwork-review-card {
  min-height: 310px;
  padding: 30px;
  display: flex;
  scroll-snap-align: start;
  border-radius: 24px;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(62, 73, 64, 0.1);
}

.restartwork-review-card span {
  font-size: 58px;
  line-height: 0.8;
  color: var(--color-accent-light);
}

.restartwork-review-card h3 {
  margin-top: 20px !important;
  font-size: 22px;
}

.restartwork-review-card p {
  margin-top: 12px;
  color: rgba(62, 73, 64, 0.72);
}

.restartwork-review-card small {
  display: block;
  margin-top: 18px;
  color: rgba(62, 73, 64, 0.58);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.restartwork-youtube-section {
  background: #fbfaf6;
}

.restartwork-social-section {
  padding: 76px 0;
  background: rgba(216, 214, 203, 0.72);
}

.restartwork-social-panel {
  padding: clamp(34px, 4.2vw, 58px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.72), transparent 42%),
    rgba(245, 241, 230, 0.76);
  border: 1px solid rgba(62, 73, 64, 0.08);
  box-shadow: 0 24px 72px rgba(62, 73, 64, 0.1);
}

.restartwork-social-card-grid {
  gap: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.restartwork-social-card {
  min-height: 150px;
  padding: 26px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  border-radius: 20px;
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(62, 73, 64, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.45s var(--restartwork-ease-out), box-shadow 0.45s var(--restartwork-ease-out);
}

.restartwork-social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(62, 73, 64, 0.12);
}

.restartwork-social-card-single {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--color-beige);
  background: var(--color-accent);
}

.restartwork-social-card-single svg {
  width: 24px;
  height: 24px;
  display: block;
}

.restartwork-social-card strong {
  font-size: 20px;
  line-height: 1.2;
}

.restartwork-social-card small {
  margin-top: 6px;
  color: rgba(62, 73, 64, 0.68);
  font-size: 14px;
}

.restartwork-youtube-grid {
  gap: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.restartwork-youtube-card {
  min-height: 260px;
  padding: 28px;
  display: flex;
  text-align: center;
  align-items: center;
  border-radius: 24px;
  flex-direction: column;
  justify-content: center;
  color: var(--color-accent);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(216, 214, 203, 0.42)),
    rgba(245, 241, 230, 0.9);
  border: 1px dashed rgba(62, 73, 64, 0.18);
}

.restartwork-youtube-card strong {
  margin-top: 18px;
  font-size: 20px;
}

.restartwork-youtube-card p {
  max-width: 260px;
  margin-top: 8px;
  color: rgba(62, 73, 64, 0.62);
}

@media only screen and (max-width: 992px) {
  .restartwork-contact-layout,
  .restartwork-social-card-grid,
  .restartwork-youtube-grid {
    grid-template-columns: 1fr;
  }

  .restartwork-contact-form-card {
    padding: 30px 22px;
  }
}

@media only screen and (max-width: 640px) {
  .restartwork-contact-item {
    gap: 16px;
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .restartwork-contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .restartwork-contact-icon svg {
    width: 28px;
    height: 28px;
  }

  .restartwork-contact-item a,
  .restartwork-contact-item strong {
    font-size: 18px;
  }

  .restartwork-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/*  component: editor
----------------------------------------------------------------------------------------- */
.editor {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* editor list */
.editor ul,
.editor ol {
  gap: 8px;
  display: flex;
  margin: 0 0 0 16px;
  flex-direction: column;
}

.editor ul {
  list-style: square;
}

.editor ol {
  list-style: decimal;
}

/* editor iframe */
.editor iframe {
  width: 100%;
  height: 420px;
}

/* editor link */
.editor a {
  text-decoration: underline;
  color: var(--color-accent-light);
}

/* editor bold */
.editor strong,
.editor b {
  font-weight: 600;
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 1280px) {
  /* editor br */
  .editor br {
    display: none;
  }
}

/*  component: swiper
----------------------------------------------------------------------------------------- */

/*  swiper slide
----------------------------------------- */
.swiper-slide {
  height: auto !important;
}

/*  component: site branding
----------------------------------------------------------------------------------------- */
.site-branding {
  gap: 8px;
  display: flex;
  align-items: center;
  color: var(--color-accent);
  text-decoration: none;
}

/*  site logo
------------------------------------------ */
.site-logo {
  max-height: 56px;
}

/*  site wordmark
------------------------------------------ */
.site-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-accent);
}

/*  site name
------------------------------------------ */
.site-name {
  display: flex;
  font-size: 18px;
  font-weight: 600;
}

/*  component: button
----------------------------------------------------------------------------------------- */
:root {
  --button-height: 48px;
}

/*  button group
------------------------------------------ */
.button-group {
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  align-items: center;
}

/* button group center */
.button-group.center {
  justify-content: center;
}

/*  button
------------------------------------------ */
.button {
  gap: 8px;
  display: flex;
  outline: none;
  cursor: pointer;
  min-width: 148px;
  font-weight: 600;
  padding: 0px 32px;
  text-align: center;
  align-items: center;
  border-radius: 32px;
  justify-content: center;
  color: var(--color-beige);
  height: var(--button-height);
  transition: ease-in-out 0.16s;
  border: 1px solid transparent;
  background: var(--color-accent);
}

/*  button beige
------------------------------------------ */
.button-beige {
  background: var(--color-beige);
  color: var(--color-accent) !important;
}

/*  button border
------------------------------------------ */
.button-border {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.button-border:hover {
  color: var(--color-beige);
  background: var(--color-accent);
}

/*  button square / round
------------------------------------------ */
.button-round,
.button-square {
  padding: 0;
  font-size: 24px;
  width: var(--button-height);
  height: var(--button-height);
  min-width: var(--button-height);
  min-height: var(--button-height);
}

/* button square */
.button-square {
  border-radius: 0px;
}

/* button round */
.button-round {
  border-radius: 100%;
}

.restartwork-whatsapp-float {
  right: calc(28px + env(safe-area-inset-right));
  bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 9998;
  width: 72px;
  height: 72px;
  position: fixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 24px;
  background: #20c864;
  box-shadow: 0 18px 42px rgba(32, 200, 100, 0.34), 0 10px 28px rgba(32, 200, 100, 0.2);
  transition: transform 0.32s var(--restartwork-ease-out), box-shadow 0.32s var(--restartwork-ease-out), background 0.32s var(--restartwork-ease-out);
}

.restartwork-whatsapp-float svg {
  width: 38px;
  height: 38px;
  display: block;
  fill: currentColor;
}

.restartwork-whatsapp-float:hover {
  transform: translateY(-3px) scale(1.035);
  background: #22d36a;
  box-shadow: 0 22px 52px rgba(32, 200, 100, 0.42), 0 12px 32px rgba(32, 200, 100, 0.24);
}

.restartwork-whatsapp-float:focus-visible {
  outline: 3px solid rgba(32, 200, 100, 0.32);
  outline-offset: 4px;
}

@media only screen and (max-width: 640px) {
  .restartwork-whatsapp-float {
    right: calc(18px + env(safe-area-inset-right));
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 60px;
    height: 60px;
    border-radius: 20px;
  }

  .restartwork-whatsapp-float svg {
    width: 32px;
    height: 32px;
  }
}

/*  button unstyle
------------------------------------------ */
.button-unstyle {
  padding: 0;
  height: unset;
  min-width: unset;
  background: transparent;
  color: inherit;
  text-decoration: underline;
}

.button-unstyle:hover {
  color: var(--color-accent-light);
}

/*  button sidebar
------------------------------------------ */
.button-sidebar {
  z-index: 1;
  position: relative;
}

/*  component: modal
----------------------------------------------------------------------------------------- */
.modal {
  display: none;
}

/*  component: thumbnail
----------------------------------------------------------------------------------------- */
.thumbnail {
  gap: 8px;
  height: 256px;
  padding: 32px;
  display: flex;
  overflow: hidden;
  position: relative;
  border-radius: var(--restartwork-photo-radius);
  flex-direction: column;
  background: transparent;
  justify-content: flex-end;
  color: var(--color-white);
  transition: ease-in-out 0.16s;
  background: var(--color-accent-trans);
}

/*  thumbnail square
------------------------------------------ */
.thumbnail-square {
  height: unset;
  padding: 100% 0 0 0;
}

/*  thumbnail small
------------------------------------------ */
.thumbnail-small {
  height: 128px;
}

/*  thumbnail medium
------------------------------------------ */
.thumbnail-medium {
  height: 512px;
}

/*  thumbnail large
------------------------------------------ */
.thumbnail-large {
  height: 730px;
}

/*  thumbnail media
------------------------------------------ */
.thumbnail-media {
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  border-radius: inherit;
  transition: ease-in-out 0.16s;
}

.restartwork-hero-photo {
  width: min(100%, 520px);
  height: auto;
  margin: 40px auto 0;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 3 / 4;
  isolation: isolate;
  border-radius: var(--restartwork-photo-radius);
  background: rgba(216, 214, 203, 0.48);
  box-shadow: 0 28px 80px rgba(62, 73, 64, 0.12);
}

.restartwork-hero-photo .thumbnail-media {
  z-index: -1;
  object-position: center 26%;
}

.home .restartwork-hero-photo,
.page-template-page-home .restartwork-hero-photo {
  width: min(100%, 460px);
  aspect-ratio: 4 / 5;
}

.home .hero,
.page-template-page-home .hero {
  padding-top: clamp(56px, 7vw, 112px);
  padding-bottom: clamp(56px, 7vw, 104px);
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 12%, rgba(255, 255, 255, 0.72), rgba(245, 241, 230, 0) 34%),
    radial-gradient(circle at 18% 42%, rgba(216, 214, 203, 0.5), rgba(245, 241, 230, 0) 38%),
    var(--color-beige);
}

.restartwork-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.08fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  min-width: 0;
}

.restartwork-home-hero-copy {
  min-width: 0;
}

.restartwork-home-hero .headline {
  max-width: 720px;
  gap: 18px;
}

.restartwork-home-hero .headline-label {
  position: relative;
  width: fit-content;
  padding-bottom: 24px;
  color: var(--color-accent);
  font-size: clamp(12px, 0.9vw, 15px);
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.restartwork-home-hero .headline-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 46px;
  height: 2px;
  border-radius: 999px;
  background: rgba(62, 73, 64, 0.42);
}

.restartwork-home-hero .headline-title {
  max-width: 780px;
  font-size: clamp(46px, 4.8vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.restartwork-home-hero .headline-textarea {
  max-width: 660px;
  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.58;
  color: rgba(62, 73, 64, 0.84);
}

.restartwork-home-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 36px;
}

.restartwork-home-actions .button {
  min-width: 240px;
  min-height: 64px;
  justify-content: center;
  box-shadow: 0 22px 54px rgba(62, 73, 64, 0.16);
}

.restartwork-home-actions .button::after {
  content: "";
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-left: 14px;
  background: currentColor;
  transform: translateX(0);
  transition: transform 0.22s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M5%2012h13m-5-5%205%205-5%205'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M5%2012h13m-5-5%205%205-5%205'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.restartwork-home-actions .button:hover::after {
  transform: translateX(4px);
}

.restartwork-home-hero-visual {
  position: relative;
  min-width: 0;
}

.restartwork-hero-video {
  width: min(100%, 700px);
  height: auto;
  min-height: 0;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  isolation: isolate;
  border-radius: 28px;
  background: rgba(216, 214, 203, 0.52);
  box-shadow: 0 32px 88px rgba(62, 73, 64, 0.16);
}

.restartwork-hero-video .thumbnail-media {
  z-index: 0;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}

.restartwork-location-stack {
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  display: block;
}

.restartwork-location-stack span {
  min-width: 190px;
  min-height: 64px;
  padding: 0 30px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(62, 73, 64, 0.12);
  border-radius: 999px;
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 54px rgba(62, 73, 64, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  font-size: 18px;
  font-weight: 700;
}

.restartwork-location-stack .iconify {
  width: 22px;
  height: 22px;
}

.restartwork-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 4vw, 62px);
}

.restartwork-benefit-grid article {
  min-height: 112px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-content: center;
  border: 1px solid rgba(62, 73, 64, 0.12);
  border-radius: 18px;
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.restartwork-benefit-grid .iconify {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  margin-top: 3px;
}

.restartwork-benefit-grid strong {
  font-size: 15px;
  line-height: 1.25;
}

/*  Restartwork vacancies page
----------------------------------------------------------------------------------------- */
.restartwork-vacancies-page {
  background:
    radial-gradient(circle at 78% 8%, rgba(62, 73, 64, 0.08), transparent 34%),
    var(--color-beige);
}

.restartwork-vacancies-hero {
  padding: clamp(86px, 9vw, 136px) 0 clamp(42px, 5vw, 76px);
}

.restartwork-vacancies-hero-grid {
  max-width: 760px;
}

.restartwork-vacancies-hero h1,
.restartwork-vacancy-contact h2 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--color-accent);
}

.restartwork-vacancies-hero p,
.restartwork-vacancy-contact p {
  max-width: 760px;
  font-size: clamp(17px, 1.15vw, 21px);
  line-height: 1.6;
  color: rgba(62, 73, 64, 0.78);
}

.restartwork-vacancies-hero .button {
  width: fit-content;
  min-width: 226px;
  margin-top: 32px;
}

.restartwork-vacancies-note {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 3.8vw, 54px);
  border: 1px solid rgba(62, 73, 64, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 28px 84px rgba(62, 73, 64, 0.12);
}

.restartwork-vacancies-note::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(62, 73, 64, 0.13);
  border-radius: 22px;
  pointer-events: none;
}

.restartwork-vacancies-note span {
  display: inline-flex;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(62, 73, 64, 0.62);
}

.restartwork-vacancies-note strong {
  display: block;
  max-width: 360px;
  font-size: clamp(28px, 2.3vw, 42px);
  line-height: 1.16;
  color: var(--color-accent);
}

.restartwork-vacancies-note p {
  margin-top: 22px;
  font-size: 16px;
}

.restartwork-vacancies-list {
  padding: 0 0 clamp(72px, 8vw, 128px);
}

.restartwork-vacancies-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.restartwork-vacancy-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(62, 73, 64, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 62px rgba(62, 73, 64, 0.08);
  transition: transform 0.45s var(--restartwork-ease-out), box-shadow 0.45s var(--restartwork-ease-out);
}

.restartwork-vacancy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 78px rgba(62, 73, 64, 0.14);
}

.restartwork-vacancy-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.restartwork-vacancy-card-head span,
.restartwork-vacancy-card-head small {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
}

.restartwork-vacancy-card-head span {
  padding: 8px 14px;
  background: rgba(62, 73, 64, 0.1);
  color: var(--color-accent);
  font-size: 13px;
}

.restartwork-vacancy-card-head small {
  max-width: 58%;
  padding: 8px 0;
  color: rgba(62, 73, 64, 0.58);
  font-size: 12px;
  text-align: right;
}

.restartwork-vacancy-card h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 2.2vw, 38px);
  line-height: 1.12;
  color: var(--color-accent);
}

.restartwork-vacancy-card > p {
  color: rgba(62, 73, 64, 0.75);
  font-size: 17px;
  line-height: 1.55;
}

.restartwork-vacancy-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0;
  padding-top: 24px;
  border-top: 1px solid rgba(62, 73, 64, 0.1);
}

.restartwork-vacancy-columns h3 {
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--color-accent);
}

.restartwork-vacancy-columns ul {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.restartwork-vacancy-columns li {
  position: relative;
  padding-left: 20px;
  color: rgba(62, 73, 64, 0.72);
  font-size: 15px;
  line-height: 1.45;
}

.restartwork-vacancy-columns li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-accent);
}

.restartwork-vacancy-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--color-accent);
  font-weight: 800;
  text-decoration: none;
}

.restartwork-vacancy-link::after {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  transition: transform 0.22s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M5%2012h13m-5-5%205%205-5%205'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M5%2012h13m-5-5%205%205-5%205'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.restartwork-vacancy-link:hover::after {
  transform: translateX(4px);
}

.restartwork-vacancy-contact {
  padding: clamp(72px, 8vw, 126px) 0;
  background: var(--color-accent);
  color: var(--color-beige);
}

.restartwork-vacancy-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.restartwork-vacancy-contact h2,
.restartwork-vacancy-contact p,
.restartwork-vacancy-contact .headline-label {
  color: var(--color-beige);
}

.restartwork-vacancy-contact p {
  color: rgba(245, 241, 230, 0.78);
}

.restartwork-vacancy-contact .restartwork-contact-form-card {
  background: var(--color-beige);
  color: var(--color-accent);
}

.restartwork-benefit-grid p {
  margin: 6px 0 0;
  color: rgba(62, 73, 64, 0.68);
  font-size: 14px;
  line-height: 1.35;
}

.restartwork-video-placeholder {
  width: min(100%, 760px);
  height: auto;
  margin: 48px auto 0;
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-items: center;
  justify-content: center;
  border-radius: var(--restartwork-photo-radius);
  color: var(--color-accent);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(216, 214, 203, 0.52)),
    rgba(216, 214, 203, 0.42);
  border: 1px solid rgba(62, 73, 64, 0.14);
  box-shadow: 0 28px 80px rgba(62, 73, 64, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.restartwork-video-placeholder::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: calc(var(--restartwork-photo-radius) - 2px);
  border: 1px dashed rgba(62, 73, 64, 0.22);
  pointer-events: none;
}

.restartwork-video-placeholder-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 18px 46px rgba(62, 73, 64, 0.18);
}

.restartwork-video-placeholder-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--color-beige);
}

.restartwork-video-placeholder-label {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: rgba(62, 73, 64, 0.72);
}

.restartwork-media-gallery {
  padding: 88px 0;
  background: rgba(216, 214, 203, 1);
}

.restartwork-media-grid {
  gap: 32px;
  width: min(100%, 1240px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.restartwork-media-card {
  margin: 0;
  overflow: hidden;
  height: clamp(300px, 24vw, 420px);
  min-height: 0;
  border-radius: var(--restartwork-photo-radius);
  background: var(--color-accent-trans);
  box-shadow: 0 24px 72px rgba(62, 73, 64, 0.12);
}

.restartwork-media-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
  transform: scale(1.01);
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.restartwork-media-card:nth-child(2) img {
  object-position: center 30%;
}

.restartwork-media-card:nth-child(3) img {
  object-position: 34% center;
}

.restartwork-media-card:hover img {
  transform: scale(1.045);
}

@media only screen and (max-width: 992px) {
  .restartwork-media-gallery {
    padding: 64px 0;
  }

  .restartwork-media-grid {
    grid-template-columns: 1fr;
  }

  .restartwork-media-card {
    height: clamp(320px, 72vw, 460px);
  }
}

@media only screen and (max-width: 576px) {
  .site-wordmark {
    min-height: 42px;
    font-size: 24px;
  }

  .restartwork-media-card {
    height: 320px;
  }
}

/* <a> thumbnail / thumbnail media */
a.thumbnail:hover .thumbnail-media {
  transform: scale(1.08);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 768px) {
  /* thumbnail large */
  .thumbnail-large {
    height: 380px;
  }

  .restartwork-hero-photo.thumbnail-large {
    width: 100%;
    height: auto;
    margin-top: 32px;
    aspect-ratio: 4 / 5;
  }

  .restartwork-video-placeholder.thumbnail-large {
    width: 100%;
    height: auto;
    margin-top: 32px;
    aspect-ratio: 16 / 10;
  }

  .restartwork-video-placeholder-icon {
    width: 58px;
    height: 58px;
  }
}

@media only screen and (max-width: 1180px) {
  .restartwork-home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .restartwork-hero-video {
    width: min(100%, 620px);
    margin-left: 0;
  }

  .restartwork-location-stack {
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
  }

  .restartwork-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 640px) {
  .home .hero,
  .page-template-page-home .hero {
    padding-top: 42px;
    padding-bottom: 58px;
  }

  .restartwork-home-hero .headline,
  .restartwork-home-hero .headline-title,
  .restartwork-home-hero .headline-textarea,
  .restartwork-home-hero .headline-textarea p {
    width: 100%;
    max-width: calc(100vw - 48px) !important;
  }

  .restartwork-home-hero .headline-label {
    padding-bottom: 18px;
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .restartwork-home-hero .headline-title {
    font-size: clamp(34px, 10.2vw, 42px);
    line-height: 1.08;
  }

  .restartwork-home-actions {
    gap: 14px;
    margin-top: 26px;
  }

  .restartwork-home-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
  }

  .restartwork-hero-video {
    width: 100%;
    border-radius: 22px;
  }

  .restartwork-location-stack {
    position: static;
    transform: none;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .restartwork-location-stack span {
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }

  .restartwork-benefit-grid {
    grid-template-columns: 1fr;
  }

  .restartwork-benefit-grid {
    margin-top: 34px;
  }

  .restartwork-benefit-grid article {
    min-height: 96px;
  }

}

/*  component: pagination
----------------------------------------------------------------------------------------- */

/*  nav links
------------------------------------------ */
.nav-links {
  gap: 16px;
  display: flex;
  justify-content: flex-end;
}

/* page numbers */
.page-numbers {
  display: flex;
  transition: ease-in-out 0.16s;
}

/*  component: facetwp
----------------------------------------------------------------------------------------- */
.facetwp-template {
  display: flex;
  flex-direction: column;
  gap: calc(var(--section-gap) / 2) 0;
}

/*  facetwp facet
------------------------------------------ */
.facetwp-facet {
  gap: 8px;
  display: flex;
  flex-direction: column;
}

/*  facetwp load more
------------------------------------------ */
.facetwp-pager {
  margin-left: auto;
}

/*  component: card
----------------------------------------------------------------------------------------- */
.card,
.card-panel {
  display: flex;
  flex-direction: column;
}

/*  card
------------------------------------------ */
.card {
  gap: 16px;
  height: 100%;
}

/* card boxed */
.card-boxed {
  padding: 32px;
  border: 2px solid var(--color-accent-light);
}

/*  card panel
------------------------------------------ */
.card-panel {
  gap: 8px;
}

/*  card title
------------------------------------------ */
.card-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.64;
}

/*  card meta
------------------------------------------ */
.card-meta {
  color: var(--color-accent-light);
}

/*  card feed
------------------------------------------ */
.card-feed {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: calc(var(--section-gap) / 2) 0;

  /* root */
  --card-feed-dimension: 24px;
}

/* card feed item */
.card-feed__item,
.card-feed__item::before,
.card-feed__item::after {
  transition: ease-in-out 0.16s;
}

.card-feed__item {
  gap: 32px;
  display: flex;
  position: relative;
  padding: 0 0 0 128px;
  flex-direction: column;
}

.card-feed__item::before,
.card-feed__item::after {
  content: "";
  display: block;
  position: absolute;
}

.card-feed__item::before {
  top: 0;
  left: 0;
  border-radius: 100%;
  background: var(--color-beige);
  width: var(--card-feed-dimension);
  height: var(--card-feed-dimension);
}

.card-feed__item::after {
  bottom: 0;
  left: calc(var(--card-feed-dimension) / 2);
  border-left: 2px solid var(--color-white-trans);
  height: calc(100% - (var(--card-feed-dimension) * 2));
}

.card-feed__item:hover::before,
.card-feed__item.active::before {
  background: var(--color-white-trans);
}

/*  cresponsive
------------------------------------------ */
@media only screen and (max-width: 768px) {
  /* card feed item */
  .card-feed__item {
    padding: 0 0 0 48px;
  }
}

/*  component: heart
----------------------------------------------------------------------------------------- */

.heart-pulse {
  height: 100px;
  width: 200px;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  position: relative;
}

.heart-pulse:after {
  content: "";
  display: block;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200px 100px"><polyline fill="none" stroke-width="3px" stroke="white" points="2.4,58.7 70.8,58.7 76.1,46.2 81.1,58.7 89.9,58.7 93.8,66.5 102.8,22.7 110.6,78.7 115.3,58.7 126.4,58.7 134.4,54.7 142.4,58.7 197.8,58.7 "/></svg>')
    0 0 no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  animation: 2s heart-pulse infinite linear;
}

@keyframes heart-pulse {
  0% {
    clip: rect(0, 0, 100px, 0);
  }
  10% {
    clip: rect(0, 66.6667px, 100px, 0);
  }
  38% {
    clip: rect(0, 133.3333px, 100px, 0);
  }
  48% {
    clip: rect(0, 200px, 100px, 0);
  }
  52% {
    clip: rect(0, 200px, 100px, 0);
  }
  62% {
    clip: rect(0, 200px, 100px, 66.6667px);
  }
  90% {
    clip: rect(0, 200px, 100px, 133.3333px);
  }
  100% {
    clip: rect(0, 200px, 100px, 200px);
  }
}




/*  new styles
------------------------------------------ */

#partners{
	padding-top:0px!important;
}
.block_logos_partners{padding-bottom: 80px;}
.blocks_logos_partners{
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 40px;
    padding-bottom: 10px;
}
.blocks_logos_partners img{
	max-height:83px; margin-left: 100px; margin-bottom: 30px;
}
.after_title2{max-width:441px;}
.fon_slider1_page_media{    background: rgba(216, 214, 203, 1); padding-top: 128px; padding-bottom:128px;}
.title_slider1{
text-align: center;
    padding-bottom: 45px;}
.button_slider1_medias{text-decoration: none !important;
    display: inline-flex;} 
.textarea_slider1_medias h3{    padding-bottom: 30px;
    padding-top: 15px;}
.container_contacts{padding-top: 128px; padding-bottom: 120px;}
.block_contacts_media_page{    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
}
.left_contacts, .right_contacts{width: calc(50% - 15px);}
.right_contacts img,
.right_contacts_mobile img{
  width:100%;
  border-radius: var(--restartwork-photo-radius);
}
.left_contacts{    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;}
   .block_bottom_contacts{width:100%;} 
  .block_top_contacts{max-width:600px;} 
.fon_slider2_page_media{background: rgba(62, 73, 64, 1);
    color: rgba(245, 241, 230, 1);
    padding-top: 128px;
    padding-bottom: 120px;}  
  .foto_slider2_media_pages{
  height: auto;
    width: 100%;
    aspect-ratio: 10 / 10;
    border-radius: var(--restartwork-photo-radius);
    overflow: hidden;
  }
 .slider_2_container{position:relative;}
 .buttons_slider2{
 position: absolute;
    bottom: 0px;}
   .img1, .img1_mobile{
    width: min(100%, 1180px);
    height: auto;
    max-height: 520px;
    margin: 32px auto 0;
    display: block;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    object-position: center center;
    border-radius: var(--restartwork-photo-radius);
   }
   .img1_mobile, .right_contacts_mobile{display:none;}
   
@media (max-width: 940px) {
    .img1, .right_contacts{display:none;}
    .img1_mobile, .right_contacts_mobile{display:block;}
    .img1_mobile {
        aspect-ratio: 4 / 3;
        max-height: 280px;
        margin-top: 28px;
    }
    .blocks_logos_partners {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding-top: 40px;
        padding-bottom: 10px;
    }
    .blocks_logos_partners img {
        max-height: 83px;
        margin-left: 0px;
        margin-bottom: 30px;
        max-width: 100%;
    }
	.container2-mobil_text-center{text-align: center;}
    .title_slider1 {
        text-align: center;
        padding-bottom: 19px;
    }
    .textarea_slider1_medias h3 {
        padding-bottom: 7px;
        padding-top: 10px;
    }
    .buttons_slider2 {
        position: absolute;
        bottom: -62px;
        left: calc(50% - 61px);
    }
    .fon_slider2_page_media {
        background: rgba(62, 73, 64, 1);
        color: rgba(245, 241, 230, 1);
        padding-top: 68px;
        padding-bottom: 100px;
    }
    .left_contacts, .right_contacts {
    width: 100%;
}
	.right_contacts_mobile{padding-top: 50px; padding-bottom: 50px;}
	.container_contacts {
        padding-top: 68px;
        padding-bottom: 60px;
    }
    
    
}

@media only screen and (max-width: 640px) {
  .hero .container-large,
  .hero .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero .headline,
  .hero .headline-title,
  .hero .headline-textarea,
  .hero .headline-textarea p {
    width: 100%;
    max-width: min(300px, calc(100vw - 56px)) !important;
    overflow-wrap: anywhere;
  }

  .hero .headline-title {
    font-size: 30px;
    line-height: 1.12;
  }

  .hero .headline-textarea {
    font-size: 14px;
    line-height: 1.58;
  }
}

@media only screen and (max-width: 640px) {
  body.home,
  body.page-template-page-home {
    overflow-x: hidden;
  }

  .home .restartwork-home-hero,
  .home .restartwork-home-hero-copy,
  .home .restartwork-home-hero-visual,
  .page-template-page-home .restartwork-home-hero,
  .page-template-page-home .restartwork-home-hero-copy,
  .page-template-page-home .restartwork-home-hero-visual {
    width: 100%;
    min-width: 0;
    max-width: min(330px, calc(100vw - 48px));
    overflow-x: clip;
  }

  .home .restartwork-home-hero .headline,
  .home .restartwork-home-hero .headline-title,
  .home .restartwork-home-hero .headline-textarea,
  .home .restartwork-home-hero .headline-textarea p,
  .page-template-page-home .restartwork-home-hero .headline,
  .page-template-page-home .restartwork-home-hero .headline-title,
  .page-template-page-home .restartwork-home-hero .headline-textarea,
  .page-template-page-home .restartwork-home-hero .headline-textarea p {
    max-width: min(330px, calc(100vw - 48px)) !important;
  }

  .home .restartwork-home-hero .headline-title,
  .page-template-page-home .restartwork-home-hero .headline-title {
    white-space: normal !important;
    overflow-wrap: normal;
    word-break: normal;
    font-size: clamp(32px, 8.7vw, 36px);
    line-height: 1.08;
  }

  .home .restartwork-home-hero .headline-textarea,
  .page-template-page-home .restartwork-home-hero .headline-textarea {
    font-size: 15px;
    line-height: 1.58;
  }

  .home .restartwork-home-actions,
  .page-template-page-home .restartwork-home-actions {
    width: 100%;
    max-width: min(330px, calc(100vw - 48px));
  }

  .home .restartwork-home-actions .button,
  .page-template-page-home .restartwork-home-actions .button {
    max-width: 100%;
  }
}

@media only screen and (min-width: 1180px) {
  :root {
    --masthead-height: 86px;
    --section-gap: 76px;
    --container-width: 1040px;
    --container-width-short: 820px;
    --container-width-large: 1200px;
    --container-width-fluid: min(100%, 1460px);
    --font-size-h1: clamp(38px, 3.1vw, 50px);
    --font-size-h2: clamp(28px, 2.2vw, 36px);
    --font-size-h3: clamp(22px, 1.65vw, 28px);
    --font-size-h4: clamp(19px, 1.35vw, 23px);
    --font-size-h5: 18px;
  }

  body {
    font-size: 14px;
    line-height: 1.54;
  }

  .masthead-navigation .menu {
    gap: 26px;
  }

  .button {
    min-height: 52px;
    padding-left: 26px;
    padding-right: 26px;
  }

  .home .hero,
  .page-template-page-home .hero {
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .restartwork-home-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.82fr);
    gap: clamp(52px, 7vw, 128px);
  }

  .restartwork-home-hero .headline {
    max-width: 560px;
    gap: 14px;
  }

  .restartwork-home-hero .headline-label {
    padding-bottom: 18px;
    font-size: 11px;
  }

  .restartwork-home-hero .headline-label::after {
    width: 38px;
  }

  .restartwork-home-hero .headline-title {
    max-width: 560px;
    font-size: clamp(50px, 3.75vw, 64px);
    line-height: 1.12;
  }

  .restartwork-home-hero .headline-textarea {
    max-width: 520px;
    font-size: clamp(14px, 0.9vw, 16px);
    line-height: 1.56;
  }

  .restartwork-home-actions {
    margin-top: 28px;
  }

  .restartwork-home-actions .button {
    min-width: 188px;
    min-height: 52px;
  }

  .restartwork-hero-video {
    width: min(100%, 430px);
    border-radius: 22px;
  }

  .restartwork-location-stack {
    right: -60px;
  }

  .restartwork-location-stack span {
    min-width: 150px;
    min-height: 50px;
    padding: 0 22px;
    font-size: 15px;
  }

  .restartwork-benefit-grid {
    max-width: 1040px;
    margin: 44px auto 0;
    gap: 12px;
  }

  .restartwork-benefit-grid article {
    min-height: 88px;
    padding: 18px;
    border-radius: 15px;
    column-gap: 13px;
  }

  .restartwork-benefit-grid .iconify {
    width: 28px;
    height: 28px;
  }

  .restartwork-benefit-grid strong {
    font-size: 13px;
  }

  .restartwork-benefit-grid p {
    font-size: 12px;
  }
}

@media only screen and (max-width: 1180px) {
  .restartwork-vacancies-hero-grid,
  .restartwork-vacancy-contact-card {
    grid-template-columns: 1fr;
  }

  .restartwork-vacancies-note {
    max-width: 680px;
  }
}

@media only screen and (max-width: 768px) {
  .restartwork-vacancies-hero {
    padding-top: 64px;
  }

  .restartwork-vacancies-grid,
  .restartwork-vacancy-columns {
    grid-template-columns: 1fr;
  }

  .restartwork-vacancy-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .restartwork-vacancy-card-head small {
    max-width: none;
    text-align: left;
  }

  .restartwork-vacancies-hero .button {
    width: 100%;
  }
}
