.tws-site-shell {
  --tws-brand: #0ca6b2;
  --tws-brand-dark: #08717a;
  --tws-accent: #ffca22;
  --tws-ink: #172022;
  --tws-muted: #637173;
  --tws-footer: #101718;
  --tws-footer-soft: #182122;
  --tws-content: 1140px;
  --tws-radius: 12px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.tws-site-shell *,
.tws-site-shell *::before,
.tws-site-shell *::after { box-sizing: border-box; }

.tws-shell-container {
  width: min(calc(100% - 32px), var(--tws-content));
  margin-inline: auto;
}

.tws-svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.tws-skip-link {
  position: fixed;
  z-index: 99999;
  top: 8px;
  left: 12px;
  padding: 10px 14px;
  color: #071518;
  background: var(--tws-accent, #ffca22);
  border-radius: 7px;
  font: 700 13px/1.2 Arial, sans-serif;
  text-decoration: none;
  transform: translateY(-150%);
}

.tws-skip-link:focus { transform: translateY(0); }

.tws-main-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 20px;
}

body.tws-dialog-open { overflow: hidden; }

.tws-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #fff;
  text-decoration: none;
}

.tws-brand-logo {
  display: block;
  width: 170px;
  height: auto;
  filter: invert(1) hue-rotate(180deg) saturate(1.05) brightness(1.08);
}

.tws-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 19px;
  color: #171717 !important;
  background: var(--tws-accent);
  border: 1px solid #e9b915;
  border-radius: 9px;
  box-shadow: none;
  cursor: pointer;
  font: 800 13px/1.25 Arial, sans-serif;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.tws-button:hover {
  color: #101010 !important;
  background: #ffd342;
  box-shadow: 0 10px 25px rgba(255, 202, 34, .2);
  transform: translateY(-1px);
}

.tws-socials {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tws-social-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff !important;
  border-radius: 50%;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease;
}

.tws-social-link:hover {
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .24);
  transform: translateY(-2px);
}

.tws-social-link svg { width: 19px; height: 19px; fill: currentColor; }
.tws-social-link--wa { background: #19b85a; }
.tws-social-link--tg { background: transparent; }
.tws-social-link--tg svg { width: 100%; height: 100%; display: block; }
.tws-social-link--max { background: linear-gradient(145deg, #00bfff 0%, #471aff 56%, #9500ff 100%); }
.tws-social-link--max svg { width: 21px; height: 21px; }

.tws-site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  color: #fff;
  background-color: #06171d;
  background-image:
    linear-gradient(90deg, rgba(0, 27, 35, .90) 0%, rgba(2, 19, 25, .76) 44%, rgba(3, 14, 19, .73) 100%),
    url("images/header.png");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.tws-site-header a { color: inherit; }

.tws-header-top {
  position: relative;
  z-index: 3;
  background: rgba(3, 17, 22, .45);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.tws-header-main {
  min-height: 100px;
  display: grid;
  grid-template-columns: minmax(170px, 1.15fr) auto auto auto auto;
  align-items: center;
  gap: 22px;
}

.tws-header-detail {
  display: grid;
  grid-template-columns: 40px auto;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
}

.tws-header-detail__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #d9fbfd;
  background: rgba(3, 48, 58, .72);
  border: 1px solid rgba(71, 203, 213, .38);
  border-radius: 11px;
}

.tws-header-detail__icon svg { width: 19px; height: 19px; }

.tws-header-detail small {
  display: block;
  margin-bottom: 2px;
  color: #acbabc;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tws-header-detail strong,
.tws-header-detail a {
  display: block;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}

.tws-header-detail a:hover { color: var(--tws-accent) !important; }
.tws-header-callback { min-width: 166px; }

.tws-menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(4, 21, 27, .72);
  border: 1px solid rgba(122, 224, 231, .34);
  border-radius: 10px;
  cursor: pointer;
}

.tws-menu-toggle span,
.tws-menu-toggle span::before,
.tws-menu-toggle span::after {
  width: 22px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  content: "";
  transition: transform .18s ease, opacity .18s ease;
}

.tws-menu-toggle span { position: relative; }
.tws-menu-toggle span::before { position: absolute; transform: translateY(-7px); }
.tws-menu-toggle span::after { position: absolute; transform: translateY(7px); }
.tws-menu-toggle[aria-expanded="true"] span { background: transparent; }
.tws-menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.tws-menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

.tws-nav-bar {
  position: relative;
  z-index: 4;
  background: rgba(3, 17, 22, .62);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.tws-site-nav > ul {
  min-height: 62px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.tws-site-nav li { position: relative; min-width: 0; margin: 0; }

.tws-site-nav li > a {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  color: #f4f8f8 !important;
  border-right: 1px solid rgba(255, 255, 255, .08);
  font: 800 11px/1.25 Arial, sans-serif;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: color .18s ease, background .18s ease;
}

.tws-site-nav li:first-child > a { border-left: 1px solid rgba(255, 255, 255, .08); }
.tws-site-nav li > a:hover,
.tws-site-nav li.is-current > a { color: var(--tws-accent) !important; background: rgba(255, 255, 255, .075); }

.tws-nav-badge {
  position: absolute;
  z-index: 2;
  top: 2px;
  left: 50%;
  padding: 2px 8px;
  color: #fff;
  background: #ef2d3c;
  border-radius: 999px;
  font: 800 8px/1.2 Arial, sans-serif;
  transform: translateX(-50%);
}

.tws-nav-badge + a { padding-top: 19px; }
.tws-mobile-nav-socials,
.tws-mobile-actions { display: none; }

.tws-header-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.tws-header-hero--front { min-height: clamp(450px, 43vw, 560px); }
.tws-header-hero--inner { min-height: clamp(340px, 33vw, 430px); }

.tws-header-hero__content {
  display: flex;
  align-items: center;
  padding-block: 68px 74px;
}

.tws-header-hero__copy {
  width: 100%;
  min-width: 0;
  max-width: 720px;
}

.tws-header-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font: 900 clamp(40px, 5.1vw, 68px)/.98 Arial, sans-serif;
  letter-spacing: -.035em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .28);
  overflow-wrap: break-word;
  hyphens: manual;
}

.tws-header-hero--inner h1 { font-size: clamp(38px, 4.25vw, 58px); }

.tws-header-hero__copy > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #d1dcdd;
  font: 400 17px/1.55 Arial, sans-serif;
}

.tws-header-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.tws-header-hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 27px;
  color: #d1dddd;
  font: 700 11px/1.4 Arial, sans-serif;
}

.tws-header-hero__benefits span::before {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 7px;
  background: var(--tws-brand);
  border: 2px solid #7fe4eb;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(12, 166, 178, .15);
  content: "";
}

body.tws-shell-active .page_content > .site-main > .entry-title,
body.tws-shell-active .single-post > .entry-header,
body.tws-shell-active .site-main > .page-header,
body.tws-shell-active .page_content article.page > .entry-header { display: none; }

body.tws-shell-active.tws-no-sidebar .page_content > .site-main {
  width: 100%;
  float: none;
}

body.tws-shell-active.tws-no-sidebar .page_content > #sidebar { display: none; }

/*
 * Editorial typography.
 * The legacy theme resets every paragraph and list, including blocks nested
 * inside Gutenberg groups and columns. Normalize only editorial containers;
 * menus, galleries, product grids and forms keep their component styling.
 */
body.tws-shell-active .entry-content,
body.tws-shell-active .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.tws-shell-active :where(
  .entry-content,
  .entry-content .wp-block-group__inner-container,
  .entry-content .wp-block-column,
  .entry-content .wp-block-media-text__content,
  .entry-content .wp-block-cover__inner-container,
  .entry-content .wp-block-details,
  .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container
) > p {
  margin: 0 0 1em;
  line-height: 1.65;
}

body.tws-shell-active :where(
  .entry-content,
  .entry-content .wp-block-group__inner-container,
  .entry-content .wp-block-column,
  .entry-content .wp-block-media-text__content,
  .entry-content .wp-block-cover__inner-container,
  .entry-content .wp-block-details,
  .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container
) > p:last-child { margin-bottom: 0; }

body.tws-shell-active :where(
  .entry-content,
  .entry-content .wp-block-group__inner-container,
  .entry-content .wp-block-column,
  .entry-content .wp-block-media-text__content,
  .entry-content .wp-block-cover__inner-container,
  .entry-content .wp-block-details,
  .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container
) > :is(ul, ol):not(
  .blocks-gallery-grid,
  .wp-block-gallery,
  .wp-block-social-links,
  .wp-block-navigation__container,
  .wp-block-post-template,
  .products,
  .slides,
  .slick-dots
) {
  display: block;
  margin: 0 0 1.15em;
  padding-inline-start: 1.55em;
}

body.tws-shell-active :where(
  .entry-content,
  .entry-content .wp-block-group__inner-container,
  .entry-content .wp-block-column,
  .entry-content .wp-block-media-text__content,
  .entry-content .wp-block-cover__inner-container,
  .entry-content .wp-block-details,
  .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container
) > ul:not(
  .blocks-gallery-grid,
  .wp-block-gallery,
  .wp-block-social-links,
  .wp-block-navigation__container,
  .wp-block-post-template,
  .products,
  .slides,
  .slick-dots
) { list-style: disc outside; }

body.tws-shell-active :where(
  .entry-content,
  .entry-content .wp-block-group__inner-container,
  .entry-content .wp-block-column,
  .entry-content .wp-block-media-text__content,
  .entry-content .wp-block-cover__inner-container,
  .entry-content .wp-block-details,
  .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container
) > ol:not(
  .wp-block-navigation__container,
  .wp-block-post-template,
  .products,
  .slides,
  .slick-dots
) { list-style: decimal outside; }

body.tws-shell-active :where(
  .entry-content,
  .entry-content .wp-block-group__inner-container,
  .entry-content .wp-block-column,
  .entry-content .wp-block-media-text__content,
  .entry-content .wp-block-cover__inner-container,
  .entry-content .wp-block-details,
  .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container
) > :is(ul, ol):not(
  .blocks-gallery-grid,
  .wp-block-gallery,
  .wp-block-social-links,
  .wp-block-navigation__container,
  .wp-block-post-template,
  .products,
  .slides,
  .slick-dots
) :is(ul, ol) {
  margin: .55em 0 0;
  padding-inline-start: 1.4em;
}

body.tws-shell-active :where(
  .entry-content,
  .entry-content .wp-block-group__inner-container,
  .entry-content .wp-block-column,
  .entry-content .wp-block-media-text__content,
  .entry-content .wp-block-cover__inner-container,
  .entry-content .wp-block-details,
  .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container
) > :is(ul, ol):not(
  .blocks-gallery-grid,
  .wp-block-gallery,
  .wp-block-social-links,
  .wp-block-navigation__container,
  .wp-block-post-template,
  .products,
  .slides,
  .slick-dots
) li {
  margin: .42em 0;
  padding-inline-start: .15em;
  line-height: 1.6;
}

body.tws-shell-active :where(
  .entry-content,
  .entry-content .wp-block-group__inner-container,
  .entry-content .wp-block-column,
  .entry-content .wp-block-media-text__content,
  .entry-content .wp-block-cover__inner-container,
  .entry-content .wp-block-details,
  .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container
) > :is(ul, ol):not(
  .blocks-gallery-grid,
  .wp-block-gallery,
  .wp-block-social-links,
  .wp-block-navigation__container,
  .wp-block-post-template,
  .products,
  .slides,
  .slick-dots
) li::marker {
  color: var(--tws-brand-dark, #08717a);
  font-weight: 700;
}

body.tws-shell-active :where(
  .entry-content,
  .entry-content .wp-block-group__inner-container,
  .entry-content .wp-block-column,
  .entry-content .wp-block-media-text__content,
  .entry-content .wp-block-cover__inner-container,
  .entry-content .wp-block-details,
  .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container
) > :is(h2, h3, h4, h5, h6) {
  margin: 1.5em 0 .65em;
  color: #172022;
  font-family: Arial, sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

body.tws-shell-active :where(
  .entry-content,
  .entry-content .wp-block-group__inner-container,
  .entry-content .wp-block-column,
  .entry-content .wp-block-media-text__content,
  .entry-content .wp-block-cover__inner-container,
  .entry-content .wp-block-details,
  .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container
) > :is(h2, h3, h4, h5, h6):first-child { margin-top: 0; }

body.tws-shell-active :where(.entry-content, .entry-content .wp-block-group__inner-container, .entry-content .wp-block-column, .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container) > h2 { font-size: clamp(27px, 3vw, 32px); }
body.tws-shell-active :where(.entry-content, .entry-content .wp-block-group__inner-container, .entry-content .wp-block-column, .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container) > h3 { font-size: clamp(23px, 2.5vw, 26px); }
body.tws-shell-active :where(.entry-content, .entry-content .wp-block-group__inner-container, .entry-content .wp-block-column, .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container) > h4 { font-size: 21px; }
body.tws-shell-active :where(.entry-content, .entry-content .wp-block-group__inner-container, .entry-content .wp-block-column, .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container) > h5 { font-size: 18px; }
body.tws-shell-active :where(.entry-content, .entry-content .wp-block-group__inner-container, .entry-content .wp-block-column, .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container) > h6 { font-size: 16px; }

/* Visual titles used by the non-Elementor homepage fallback stay typographically
 * identical without entering the document heading outline. */
body.tws-shell-active .tws-homepage-content .tws-visual-heading {
  margin: 1.5em 0 .65em;
  color: #172a2e;
  font-family: Arial, sans-serif;
  font-weight: 800;
  line-height: 1.16;
}

body.tws-shell-active .tws-homepage-content .tws-visual-heading--profile { font-size: 30px; }
body.tws-shell-active .tws-homepage-content .tws-visual-heading--portfolio { font-size: 40px; text-align: center; }
body.tws-shell-active .tws-homepage-content .tws-visual-heading--form { color: #fff; font-size: 34px; text-align: center; }

body.tws-shell-active :where(
  .entry-content,
  .entry-content .wp-block-group__inner-container,
  .entry-content .wp-block-column,
  .entry-content .wp-block-media-text__content,
  .entry-content .wp-block-cover__inner-container,
  .entry-content .wp-block-details,
  .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container
) > :is(p, ul, ol) a {
  color: var(--tws-brand-dark, #08717a);
  text-decoration: none;
  transition: color .18s ease;
}

body.tws-shell-active :where(
  .entry-content,
  .entry-content .wp-block-group__inner-container,
  .entry-content .wp-block-column,
  .entry-content .wp-block-media-text__content,
  .entry-content .wp-block-cover__inner-container,
  .entry-content .wp-block-details,
  .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor > .elementor-widget-container
) > :is(p, ul, ol) a:hover { color: var(--tws-brand, #0ca6b2); }

/* The legacy theme does not apply Gutenberg blockGap on these product pages. */
body.tws-shell-active .entry-content .tws-product-page > .wp-block-group__inner-container > * + * { margin-top: 36px !important; }
body.tws-shell-active .entry-content .tws-product-page > .wp-block-group__inner-container > style + * { margin-top: 0 !important; }
body.tws-shell-active .entry-content .tws-product-page > .wp-block-group__inner-container > h2 + :is(.wp-block-columns, .wp-block-details) { margin-top: 0 !important; }
body.tws-shell-active .entry-content .tws-product-page > .wp-block-group__inner-container > .wp-block-details + .wp-block-details { margin-top: 12px !important; }

body.tws-shell-active .tws-product-page .wp-block-columns {
  align-items: stretch;
}

body.tws-shell-active .tws-product-page .wp-block-column > .wp-block-group {
  box-sizing: border-box;
  height: 100%;
}

body.tws-shell-active .tws-product-page .wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.tws-shell-active .tws-product-page .wp-block-table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.tws-shell-active .tws-product-page .tws-step-number {
  margin: 0 0 12px !important;
  padding: 0;
  color: var(--tws-brand, #0ca6b2);
  font: 800 28px/1.1 Arial, sans-serif;
}

@media (max-width: 600px) {
  body.tws-shell-active .entry-content .tws-product-page > .wp-block-group__inner-container > * + * { margin-top: 28px !important; }
  body.tws-shell-active .entry-content .tws-product-page > .wp-block-group__inner-container > style + * { margin-top: 0 !important; }
  body.tws-shell-active .entry-content .tws-product-page > .wp-block-group__inner-container > h2 + :is(.wp-block-columns, .wp-block-details) { margin-top: 0 !important; }
  body.tws-shell-active .entry-content .tws-product-page > .wp-block-group__inner-container > .wp-block-details + .wp-block-details { margin-top: 10px !important; }
  body.tws-shell-active .tws-product-page .wp-block-columns { gap: 16px !important; }
  body.tws-shell-active .tws-homepage-content .tws-visual-heading--profile { font-size: 26px; }
  body.tws-shell-active .tws-homepage-content .tws-visual-heading--portfolio { font-size: 30px; }
  body.tws-shell-active .tws-homepage-content .tws-visual-heading--form { font-size: 28px; }
}

/* Progressive-enhancement accordion for Gutenberg FAQ blocks. */
body.tws-shell-active .tws-product-page .wp-block-details {
  overflow: hidden;
  transition: none;
}

body.tws-shell-active .tws-product-page .wp-block-details:not(.is-faq-ready)[open],
body.tws-shell-active .tws-product-page .wp-block-details.is-open {
  border-color: rgba(12, 166, 178, .62) !important;
  box-shadow: none;
}

body.tws-shell-active .tws-product-page .wp-block-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #263b3f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

body.tws-shell-active .tws-product-page .wp-block-details > summary::-webkit-details-marker { display: none; }

body.tws-shell-active .tws-product-page .wp-block-details > summary::after {
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  color: #08717a;
  background: #e6f5f6;
  border-radius: 50%;
  content: "+";
  font: 700 21px/1 Arial, sans-serif;
  transition: color .24s ease, background-color .24s ease, transform .24s ease;
}

body.tws-shell-active .tws-product-page .wp-block-details:not(.is-faq-ready)[open] > summary::after,
body.tws-shell-active .tws-product-page .wp-block-details.is-open > summary::after {
  color: #fff;
  background: var(--tws-brand, #0ca6b2);
  transform: rotate(45deg);
}

body.tws-shell-active .tws-product-page .tws-faq-answer {
  overflow: hidden;
}

body.tws-shell-active .tws-product-page .tws-faq-answer__inner {
  min-height: 0;
  overflow: hidden;
  color: #40565a;
  font-size: 16px;
  line-height: 1.65;
}

body.tws-shell-active .tws-product-page .tws-faq-answer__inner > :first-child { margin-top: 14px; }
body.tws-shell-active .tws-product-page .tws-faq-answer__inner > :last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  body.tws-shell-active .tws-product-page .wp-block-details,
  body.tws-shell-active .tws-product-page .wp-block-details > summary::after { transition-duration: .01ms !important; }
}

/*
 * Keep Elementor FAQs on the same readable scale as the Gutenberg product
 * pages. Elementor's generated stylesheet otherwise reduces both the
 * question and answer to 13px on the equipment page.
 */
body.tws-shell-active .elementor[data-elementor-type="wp-page"] .elementor-widget-accordion .elementor-accordion-item {
  margin: 0 0 12px;
  border: 1px solid #d5e5e7 !important;
  border-radius: 10px;
  overflow: hidden;
  transition: none;
}

body.tws-shell-active .elementor[data-elementor-type="wp-page"] .elementor-widget-accordion .elementor-accordion-item:last-child {
  margin-bottom: 0;
}

body.tws-shell-active .elementor[data-elementor-type="wp-page"] .elementor-widget-accordion .elementor-accordion-item:has(.elementor-active) {
  border-color: rgba(12, 166, 178, .62) !important;
  box-shadow: none;
}

body.tws-shell-active .elementor[data-elementor-type="wp-page"] .elementor-widget-accordion .elementor-tab-title {
  padding: 17px 19px !important;
  border: 0 !important;
  color: #263b3f;
  font: 700 18px/1.45 Arial, sans-serif !important;
}

body.tws-shell-active .elementor[data-elementor-type="wp-page"] .elementor-widget-accordion .elementor-tab-content {
  /* Keep vertical padding animatable by Elementor's slide toggle. */
  padding: 0 19px 18px;
  color: #40565a;
  border: 0 !important;
  font: 400 16px/1.65 Arial, sans-serif !important;
}

/*
 * The equipment page remains editable in Elementor, but visually follows the
 * same 1100px content grid, cards and vertical rhythm as the three Gutenberg
 * product pages.
 */
body.page-id-290.tws-shell-active .elementor[data-elementor-id="290"] {
  padding-top: 24px;
}

body.page-id-290.tws-shell-active .elementor[data-elementor-id="290"] > .elementor-top-section {
  width: calc(100% - 32px);
  max-width: 1100px;
  margin-top: 0 !important;
  margin-right: auto !important;
  margin-bottom: 34px !important;
  margin-left: auto !important;
}

body.page-id-290.tws-shell-active .elementor[data-elementor-id="290"] > .elementor-top-section:last-child {
  margin-bottom: 44px !important;
}

body.page-id-290.tws-shell-active .elementor[data-elementor-id="290"] h2.elementor-heading-title {
  font-size: clamp(28px, 3.3vw, 32px) !important;
  line-height: 1.2 !important;
}

body.page-id-290.tws-shell-active .elementor[data-elementor-id="290"] h3.elementor-heading-title {
  font-size: 22px !important;
  line-height: 1.25 !important;
}

body.page-id-290.tws-shell-active .elementor[data-elementor-id="290"] .elementor-element-c3d4e5f h2.elementor-heading-title {
  font-size: clamp(30px, 4vw, 40px) !important;
  line-height: 1.14 !important;
}

body.page-id-290.tws-shell-active .elementor[data-elementor-id="290"] :is(
  .elementor-element-d0e1f2a,
  .elementor-element-f0a1b2c,
  .elementor-element-e1a2b3c
) {
  text-align: left !important;
}

/* Align the two headings in the order-details panel to the same top edge. */
body.page-id-290.tws-shell-active .elementor[data-elementor-id="290"] .elementor-element-f6b7c8d > .elementor-widget-wrap {
  padding-top: 10px !important;
}

body.page-id-290.tws-shell-active .elementor-element-a7b8c9d img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
}

body.page-id-290.tws-shell-active .elementor-element-a1c2d3e {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

body.page-id-290.tws-shell-active .elementor-element-a1c2d3e .metaslider {
  padding: 14px;
  background: #f7fafb;
  border: 1px solid #d5e5e7;
  border-radius: 16px;
  overflow: hidden;
}

body.page-id-290.tws-shell-active .elementor-element-a1c2d3e .metaslider img {
  border-radius: 11px;
}

@media (max-width: 600px) {
  body.tws-shell-active .tws-product-page .wp-block-details > summary,
  body.tws-shell-active .elementor[data-elementor-type="wp-page"] .elementor-widget-accordion .elementor-tab-title {
    font-size: 17px !important;
  }

  body.page-id-290.tws-shell-active .elementor[data-elementor-id="290"] {
    padding-top: 18px;
  }

  body.page-id-290.tws-shell-active .elementor[data-elementor-id="290"] > .elementor-top-section {
    width: calc(100% - 24px);
    margin-bottom: 28px !important;
  }

  body.page-id-290.tws-shell-active .elementor[data-elementor-id="290"] > .elementor-top-section:last-child {
    margin-bottom: 34px !important;
  }

  body.page-id-290.tws-shell-active .elementor-element-a7b8c9d img {
    max-height: 310px;
  }

  body.page-id-290.tws-shell-active .elementor-element-a1c2d3e .metaslider {
    padding: 8px;
    border-radius: 13px;
  }

  body.page-id-290.tws-shell-active .elementor-element-e1f2a3b > .elementor-container {
    gap: 14px;
  }
}

/* Keep legal copy and checkboxes uniform in every in-page CF7 form. */
body.tws-shell-active .wpcf7-form { font-family: Arial, sans-serif; }

body.tws-shell-active .tws-consult-form__consent,
body.tws-shell-active .tws-consent {
  margin-top: 14px;
  font: 400 13px/1.55 Arial, sans-serif;
  overflow-wrap: anywhere;
}

body.tws-shell-active .tws-consult-form__consent p,
body.tws-shell-active .tws-consent p { margin: 0; }

body.tws-shell-active .tws-consult-form__consent .wpcf7-list-item,
body.tws-shell-active .tws-consent .wpcf7-list-item { display: block; margin: 0; }

body.tws-shell-active .tws-consult-form__consent .wpcf7-list-item > label,
body.tws-shell-active .tws-consent .wpcf7-list-item > label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  margin: 0;
  cursor: pointer;
}

body.tws-shell-active .tws-consult-form__consent input[type="checkbox"],
body.tws-shell-active .tws-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  display: block;
  margin: 0;
  padding: 0;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 15px 15px;
  border: 2px solid #8ea0a1;
  border-radius: 6px;
  box-shadow: none;
  box-sizing: border-box;
  cursor: pointer;
  opacity: 1;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

body.tws-shell-active .tws-consult-form__consent .wpcf7-list-item-label,
body.tws-shell-active .tws-consent .wpcf7-list-item-label {
  display: block;
  min-width: 0;
}

body.tws-shell-active .tws-consult-form__consent .tws-policy-note,
body.tws-shell-active .tws-consent .tws-policy-note {
  margin: 7px 0 0 33px;
  font: inherit;
}

.tws-site-footer {
  width: 100%;
  color: #c7d0d0;
  background: var(--tws-footer);
  border-top: 5px solid var(--tws-brand);
}

.tws-footer-main {
  display: grid;
  grid-template-columns: 1.35fr .9fr .8fr 1.2fr;
  align-items: start;
  gap: 46px;
  padding: 58px 0 48px;
}

.tws-footer-brand > p {
  max-width: 300px;
  margin: 19px 0 20px;
  color: #93a0a1;
  font: 400 14px/1.55 Arial, sans-serif;
}

.tws-footer-label {
  margin: 5px 0 19px;
  color: #fff;
  font: 900 14px/1.3 Arial, sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tws-footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tws-footer-links li { margin: 0; }

.tws-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: #a9b5b5 !important;
  font: 400 13px/1.4 Arial, sans-serif;
  text-decoration: none !important;
  transition: color .18s ease, transform .18s ease;
}

.tws-footer-links a::before {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--tws-brand);
  border-radius: 50%;
  content: "";
}

.tws-footer-links a:hover { color: #fff !important; transform: translateX(3px); }

.tws-footer-contact-card {
  align-self: start;
  padding: 22px;
  background: var(--tws-footer-soft);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--tws-radius);
}

.tws-footer-contact-card .tws-footer-label { margin-top: 0; }

.tws-footer-contact {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  font-style: normal;
}

.tws-footer-contact__row {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
  color: #aeb9b9;
  font: 400 13px/1.5 Arial, sans-serif;
}

.tws-footer-contact__row svg { width: 17px; height: 17px; margin-top: 2px; color: var(--tws-brand); }
.tws-footer-contact__row a { color: #e9eeee !important; text-decoration: none !important; }
.tws-footer-contact__row a:hover { color: var(--tws-accent) !important; }
.tws-footer-contact-card .tws-button { width: 100%; min-height: 43px; }

.tws-footer-bottom { background: #0c1112; border-top: 1px solid rgba(255, 255, 255, .09); }

.tws-footer-bottom__inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #839091;
  font: 400 12px/1.4 Arial, sans-serif;
}

.tws-footer-legal-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 14px;
  font-variant-numeric: tabular-nums;
}

.tws-footer-legal-identity span { white-space: nowrap; }
.tws-footer-legal-identity span + span::before { margin-right: 14px; color: #4f5c5d; content: "·"; }

.tws-legal-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.tws-legal-links a { color: #aab4b5 !important; text-decoration: none !important; text-underline-offset: 3px; }
.tws-legal-links a:hover { color: var(--tws-accent) !important; text-decoration: underline !important; }

.tws-callback-dialog {
  position: fixed;
  z-index: 99999;
  inset: 0;
  width: min(calc(100% - 32px), 520px);
  max-height: min(90vh, 720px);
  margin: auto;
  padding: 0;
  color: var(--tws-ink);
  background: #fff;
  border: 1px solid #d7e2e2;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(0, 13, 18, .4);
  overflow: auto;
}

.tws-callback-dialog:not([open]) { display: none; }
.tws-callback-dialog[open] { animation: tws-dialog-in .2s ease-out; }
.tws-callback-dialog::backdrop { background: rgba(1, 10, 14, .74); backdrop-filter: blur(4px); }

.tws-callback-dialog__panel { position: relative; padding: 34px; overflow: hidden; }

.tws-callback-dialog__close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #6c7a7b;
  background: #edf3f3;
  border: 1px solid #d4dede;
  border-radius: 50%;
  cursor: pointer;
  font: 700 24px/1 Arial, sans-serif;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.tws-callback-dialog__close:hover { color: var(--tws-ink); background: #e2ebeb; transform: rotate(5deg); }

.tws-callback-dialog__label {
  margin: 0 50px 8px 0;
  color: var(--tws-brand-dark);
  font: 900 12px/1.3 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tws-callback-dialog__title,
.tws-callback-success__title {
  margin: 0;
  padding-right: 44px;
  color: var(--tws-ink);
  font: 900 clamp(28px, 5vw, 36px)/1.1 Arial, sans-serif;
  letter-spacing: -.025em;
}

.tws-callback-dialog__lead { margin: 13px 0 24px; color: var(--tws-muted); font: 400 15px/1.55 Arial, sans-serif; }

.tws-callback-form-host .wpcf7,
.tws-callback-form-host .wpcf7-form { margin: 0; }

.tws-callback-form { display: grid; gap: 17px; }
.tws-callback-form p { margin: 0; }

.tws-callback-form__field {
  display: grid;
  gap: 7px;
  color: #303a3b;
  font: 800 14px/1.35 Arial, sans-serif;
}

.tws-callback-form__field > p { margin: 0; }
.tws-callback-form__field label { display: grid; gap: 7px; }
.tws-callback-form__field label > br { display: none; }
.tws-callback-form__field .wpcf7-form-control-wrap { display: block; }

.tws-callback-dialog .wpcf7 .tws-callback-form__field input.wpcf7-form-control {
  width: 100%;
  max-width: none;
  min-height: 52px;
  height: auto;
  margin: 0;
  padding: 12px 14px;
  color: var(--tws-ink);
  background: #f8fbfb;
  border: 1px solid #cddada;
  border-radius: 9px;
  box-shadow: none;
  font: 400 16px/1.3 Arial, sans-serif;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.tws-callback-dialog .wpcf7 .tws-callback-form__field input.wpcf7-form-control::placeholder { color: #8d999a; opacity: 1; }
.tws-callback-dialog .wpcf7 .tws-callback-form__field input.wpcf7-form-control:focus { background: #fff; border-color: var(--tws-brand); box-shadow: 0 0 0 3px rgba(12, 166, 178, .14); }

.tws-callback-form__honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tws-callback-form__consent {
  color: #5e6b6c;
  font: 400 13px/1.55 Arial, sans-serif;
  overflow-wrap: anywhere;
}

.tws-callback-form__consent .wpcf7-list-item { display: block; margin: 0; }
.tws-callback-form__consent .wpcf7-list-item > label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  margin: 0;
  cursor: pointer;
}

.tws-callback-form__consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  display: block;
  margin: 0;
  padding: 0;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 15px 15px;
  border: 2px solid #8ea0a1;
  border-radius: 6px;
  box-shadow: none;
  box-sizing: border-box;
  cursor: pointer;
  opacity: 1;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

body.tws-shell-active .tws-consult-form__consent label:hover input[type="checkbox"]:not(:checked),
body.tws-shell-active .tws-consent label:hover input[type="checkbox"]:not(:checked),
.tws-callback-form__consent label:hover input[type="checkbox"]:not(:checked) {
  background-color: #f1f8f8;
  border-color: var(--tws-brand-dark, #08717a);
}

body.tws-shell-active .tws-consult-form__consent input[type="checkbox"]:checked,
body.tws-shell-active .tws-consent input[type="checkbox"]:checked,
.tws-callback-form__consent input[type="checkbox"]:checked {
  background-color: var(--tws-brand-dark, #08717a);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.25 8.25L6.5 11.5L13 5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border-color: var(--tws-brand-dark, #08717a);
  box-shadow: 0 0 0 1px rgba(8, 113, 122, .12);
}

body.tws-shell-active .tws-consult-form__consent input[type="checkbox"]:active,
body.tws-shell-active .tws-consent input[type="checkbox"]:active,
.tws-callback-form__consent input[type="checkbox"]:active { transform: scale(.94); }

body.tws-shell-active .tws-consult-form__consent input[type="checkbox"]:focus-visible,
body.tws-shell-active .tws-consent input[type="checkbox"]:focus-visible,
.tws-callback-form__consent input[type="checkbox"]:focus-visible {
  border-color: var(--tws-brand-dark, #08717a);
  outline: 3px solid rgba(255, 202, 34, .5);
  outline-offset: 2px;
}

.tws-callback-form__consent .wpcf7-list-item-label {
  display: block;
  min-width: 0;
}

.tws-callback-form__consent a,
.tws-callback-form__privacy-note a {
  color: var(--tws-brand-dark) !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* Keep legal links in every callback form visually consistent. */
form a[href*="/politika-konfidentsialnosti/"],
form a[href*="/soglasie-na-obrabotku-personalnyh-dannyh/"] {
  text-decoration: none !important;
  transition: color .18s ease;
}

form a[href*="/politika-konfidentsialnosti/"]:hover,
form a[href*="/politika-konfidentsialnosti/"]:focus-visible,
form a[href*="/soglasie-na-obrabotku-personalnyh-dannyh/"]:hover,
form a[href*="/soglasie-na-obrabotku-personalnyh-dannyh/"]:focus-visible {
  color: var(--tws-brand, #0ca6b2) !important;
  opacity: 1;
  text-decoration: none !important;
}

form a[href*="/politika-konfidentsialnosti/"]:focus-visible,
form a[href*="/soglasie-na-obrabotku-personalnyh-dannyh/"]:focus-visible {
  border-radius: 2px;
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.tws-callback-form p.tws-callback-form__privacy-note {
  margin: -6px 0 0 33px;
  color: #6c797a;
  font: 400 13px/1.55 Arial, sans-serif;
  overflow-wrap: anywhere;
}

.tws-callback-form-host .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #9d2730;
  font: 700 12px/1.4 Arial, sans-serif;
}

.tws-callback-form-host .wpcf7-response-output {
  margin: 14px 0 0 !important;
  padding: 10px 12px;
  color: #8d2730;
  background: #fff0f1;
  border: 1px solid #f0c5c9 !important;
  border-radius: 8px;
  font: 700 12px/1.45 Arial, sans-serif;
}

.tws-callback-form__submit,
.tws-callback-form__submit > p { position: relative; }
.tws-callback-form__submit .wpcf7-spinner { position: absolute; top: 50%; right: 12px; margin: -12px 0 0; }

.tws-callback-dialog .wpcf7 .tws-callback-form__submit input[type="submit"].tws-button {
  width: 100%;
  max-width: none;
  min-height: 52px;
  height: auto;
  margin: 0;
  padding: 12px 19px;
  color: #171717;
  background: var(--tws-accent);
  border: 1px solid #e9b915;
  border-radius: 9px;
  box-shadow: none;
  font: 800 14px/1.25 Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

.tws-callback-dialog .wpcf7 .tws-callback-form__submit input[type="submit"].tws-button:hover {
  color: #101010;
  background: #ffd342;
  box-shadow: 0 10px 25px rgba(255, 202, 34, .2);
  transform: translateY(-1px);
}

.tws-callback-dialog .wpcf7 .tws-callback-form__submit input[type="submit"].tws-button[disabled] {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.tws-callback-form-unavailable {
  margin: 0;
  padding: 14px;
  color: #5e6b6c;
  background: #f4f8f8;
  border: 1px solid #d3dede;
  border-radius: 9px;
  font: 700 13px/1.5 Arial, sans-serif;
}

.tws-callback-success { padding: 14px 0 4px; text-align: center; }
.tws-callback-success[hidden],
#tws-callback-form-view[hidden] { display: none; }

.tws-callback-success__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: #fff;
  background: var(--tws-brand);
  border-radius: 50%;
  font: 900 30px/1 Arial, sans-serif;
}

.tws-callback-success__title { padding: 0; }
.tws-callback-success p { margin: 13px 0 24px; color: var(--tws-muted); font: 400 15px/1.5 Arial, sans-serif; }

.tws-site-shell :focus-visible { outline: 3px solid var(--tws-accent); outline-offset: 3px; }

/*
 * Unify button motion across the mixed Gutenberg, Elementor and legacy theme
 * markup. The product CTAs intentionally have inline visual styles, so their
 * interaction states live here instead of duplicating them in every post.
 */
body.tws-shell-active .tws-product-page a[data-tws-callback-open],
body.tws-shell-active .tws-product-page a[href^="tel:"][style*="display:inline-flex"],
.wp-block-button__link,
.wp-element-button,
.elementor-widget-button .elementor-button,
button.button-gradient,
a.button-gradient,
a.button,
button.button,
input.button,
a.more-button,
.vdg-form_btn,
.wpcf7 input[type="submit"] {
  transform-origin: center;
  transition:
    transform .2s cubic-bezier(.2, .75, .25, 1),
    filter .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    color .2s ease;
}

.tws-menu-toggle {
  transition:
    transform .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.pum-close,
.popmake-close {
  transform-origin: center;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;
}

.metaslider .flex-direction-nav a,
.metaslider .flex-control-nav a,
.nivo-directionNav a,
.nivo-controlNav a {
  transition: filter .18s ease, opacity .18s ease, box-shadow .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  body.tws-shell-active .tws-product-page a[data-tws-callback-open]:hover,
  body.tws-shell-active .tws-product-page a[href^="tel:"][style*="display:inline-flex"]:hover,
  .wp-block-button__link:hover,
  .wp-element-button:hover,
  .elementor-widget-button .elementor-button:hover,
  button.button-gradient:hover,
  a.button-gradient:hover,
  a.button:hover,
  button.button:hover,
  input.button:hover,
  a.more-button:hover,
  .vdg-form_btn:hover,
  .wpcf7 input[type="submit"]:not(:disabled):hover {
    filter: brightness(1.035) saturate(1.025);
    transform: translateY(-2px);
  }

  body.tws-shell-active .tws-product-page a[data-tws-callback-open]:hover,
  .wp-block-button__link:hover,
  .wp-element-button:hover,
  .elementor-widget-button .elementor-button:hover,
  button.button-gradient:hover,
  a.button-gradient:hover {
    box-shadow: 0 10px 24px rgba(8, 58, 63, .16);
  }

  body.tws-shell-active .tws-product-page a[data-tws-callback-open]:hover {
    background: #ffd342 !important;
    box-shadow: 0 10px 24px rgba(255, 202, 34, .24);
    color: #101010 !important;
  }

  body.tws-shell-active .tws-product-page a[href^="tel:"][style*="display:inline-flex"]:hover {
    color: #075f67 !important;
    background: #eef9fa !important;
    border-color: #6fb3b9 !important;
    box-shadow: 0 10px 24px rgba(8, 113, 122, .14);
  }

  .tws-menu-toggle:hover {
    background: rgba(8, 57, 67, .88);
    border-color: rgba(122, 224, 231, .58);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
    transform: translateY(-1px);
  }

  .pum-close:hover,
  .popmake-close:hover {
    filter: brightness(1.12);
    transform: rotate(6deg) scale(1.04);
  }

  .metaslider .flex-direction-nav a:hover,
  .metaslider .flex-control-nav a:hover,
  .nivo-directionNav a:hover,
  .nivo-controlNav a:hover {
    filter: brightness(1.12);
    opacity: 1;
  }
}

.tws-button:not(:disabled):active,
.tws-social-link:active,
body.tws-shell-active .tws-product-page a[data-tws-callback-open]:active,
body.tws-shell-active .tws-product-page a[href^="tel:"][style*="display:inline-flex"]:active,
.wp-block-button__link:active,
.wp-element-button:active,
.elementor-widget-button .elementor-button:active,
button.button-gradient:not(:disabled):active,
a.button-gradient:active,
a.button:active,
button.button:not(:disabled):active,
input.button:not(:disabled):active,
a.more-button:active,
.vdg-form_btn:not(:disabled):active,
.wpcf7 input[type="submit"]:not(:disabled):active {
  box-shadow: 0 3px 9px rgba(8, 58, 63, .13);
  filter: brightness(.98);
  transform: translateY(0) scale(.965);
  transition-duration: .08s;
}

.tws-menu-toggle:active,
.tws-callback-dialog__close:active,
.pum-close:active,
.popmake-close:active {
  transform: scale(.92);
  transition-duration: .08s;
}

body.tws-shell-active .tws-product-page a[data-tws-callback-open]:focus-visible,
body.tws-shell-active .tws-product-page a[href^="tel:"][style*="display:inline-flex"]:focus-visible,
.wp-block-button__link:focus-visible,
.wp-element-button:focus-visible,
.elementor-widget-button .elementor-button:focus-visible,
button.button-gradient:focus-visible,
a.button-gradient:focus-visible,
a.button:focus-visible,
button.button:focus-visible,
input.button:focus-visible,
a.more-button:focus-visible,
.vdg-form_btn:focus-visible,
.wpcf7 input[type="submit"]:focus-visible {
  outline: 3px solid rgba(255, 202, 34, .78) !important;
  outline-offset: 3px;
}

@keyframes tws-dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tws-mobile-menu-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .tws-header-main { grid-template-columns: 1fr auto auto auto; }
  .tws-header-detail--address { display: none; }
  .tws-site-nav li > a { padding-inline: 9px; font-size: 10px; }
  .tws-footer-main { grid-template-columns: 1.25fr .9fr .9fr 1.15fr; gap: 28px; }
}

@media (max-width: 800px) {
  body.tws-menu-open { overflow: hidden; }
  .tws-shell-container { width: min(calc(100% - 28px), var(--tws-content)); }
  .tws-site-header { background-position: 29% center; }
  .tws-header-top { z-index: 60; }
  .tws-header-main { min-height: 84px; grid-template-columns: 1fr auto auto; gap: 13px; }
  .tws-brand-logo { width: 150px; }
  .tws-header-main > .tws-socials,
  .tws-header-main > .tws-button { display: none; }
  .tws-header-detail--phone small,
  .tws-header-detail--phone a:first-of-type { display: none; }
  .tws-header-detail--phone { grid-template-columns: auto; }
  .tws-header-detail--phone .tws-header-detail__icon { display: none; }
  .tws-header-detail--phone a { font-size: 13px; }
  .tws-menu-toggle { display: grid; }

  .tws-nav-bar {
    position: absolute;
    z-index: 50;
    top: 84px;
    right: 0;
    left: 0;
    background: transparent;
    border: 0;
    pointer-events: none;
  }

  .tws-site-nav {
    display: none;
    max-height: calc(100vh - 96px);
    padding: 10px;
    background: rgba(5, 18, 23, .98);
    border: 1px solid rgba(104, 213, 221, .25);
    border-top: 0;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 22px 44px rgba(0, 9, 13, .42);
    overflow-y: auto;
    pointer-events: auto;
  }

  .tws-site-nav.is-open { display: block; animation: tws-mobile-menu-in .18s ease-out both; }

  .tws-site-nav > ul { min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }

  .tws-site-nav li > a {
    min-height: 52px;
    justify-content: flex-start;
    padding: 9px 11px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .09) !important;
    border-radius: 8px;
    font-size: 10px;
    text-align: left;
  }

  .tws-site-nav .tws-nav-badge + a { padding-top: 19px; }
  .tws-nav-badge { top: 4px; right: 6px; left: auto; padding: 1px 5px; font-size: 7px; transform: none; }
  .tws-site-nav .tws-nav-contact { grid-column: 2; grid-row: 4; }

  .tws-site-nav .tws-mobile-nav-socials {
    min-height: 52px;
    display: flex;
    grid-column: 1 / -1;
    grid-row: 5;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .tws-mobile-nav-socials .tws-socials { gap: 7px; }

  .tws-site-nav .tws-mobile-nav-socials .tws-social-link {
    width: clamp(39px, 10vw, 44px);
    height: clamp(39px, 10vw, 44px);
    min-height: 0;
    justify-content: center;
    padding: 0;
    border: 0 !important;
    border-radius: 50%;
  }

  .tws-site-nav .tws-mobile-nav-socials .tws-social-link--wa { background: #19b85a; }
  .tws-site-nav .tws-mobile-nav-socials .tws-social-link--tg { background: transparent; }
  .tws-site-nav .tws-mobile-nav-socials .tws-social-link--max { background: linear-gradient(145deg, #00bfff 0%, #471aff 56%, #9500ff 100%); }
  .tws-mobile-nav-socials .tws-social-link svg { width: 24px; height: 24px; }
  .tws-mobile-nav-socials .tws-social-link--tg svg { width: 100%; height: 100%; }
  .tws-mobile-nav-socials .tws-social-link--max svg { width: 24px; height: 24px; }

  .tws-mobile-actions { display: grid; padding: 11px 0 0; }
  .tws-mobile-actions .tws-button { width: 100%; min-height: 43px; }

  .tws-header-hero--front,
  .tws-header-hero--inner { min-height: 500px; }
  .tws-header-hero__content { padding-block: 58px 66px; }
  .tws-header-hero__copy { max-width: 570px; }
  .tws-header-hero h1,
  .tws-header-hero--inner h1 { font-size: clamp(36px, 8.4vw, 52px); }

  .tws-footer-main { grid-template-columns: 1fr 1fr; gap: 36px 28px; padding: 48px 0 40px; }
  .tws-footer-brand { grid-column: 1 / -1; }
  .tws-footer-brand > p { max-width: 600px; }
  .tws-footer-bottom__inner { align-items: flex-start; flex-direction: column; padding: 20px 0; }
  .tws-legal-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .tws-header-main { grid-template-columns: 1fr auto; }
  .tws-header-detail--phone { display: none; }
  .tws-site-header { background-position: 24% center; }
  .tws-header-hero--front,
  .tws-header-hero--inner { min-height: 510px; }
  .tws-header-hero__content { align-items: flex-end; padding-block: 46px 50px; }
  .tws-header-hero h1,
  .tws-header-hero--inner h1 { font-size: clamp(35px, 10.7vw, 48px); line-height: 1.02; }
  body.page-id-746 .tws-header-hero h1,
  body.page-id-748 .tws-header-hero h1,
  body.page-id-2624 .tws-header-hero h1 {
    font-size: 28px;
    line-height: 1.08;
    overflow-wrap: normal;
    hyphens: none;
  }
  .tws-header-hero__copy > p { margin-top: 22px; font-size: 15px; }
  .tws-header-hero__actions { align-items: stretch; flex-direction: column; }
  .tws-header-hero__actions .tws-button { width: 100%; }
  .tws-header-hero__benefits { gap: 10px 16px; }

  .tws-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; padding: 36px 0 30px; }
  .tws-footer-brand {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    grid-column: 1 / -1;
    order: 1;
  }
  .tws-footer-brand .tws-brand { grid-column: 1; grid-row: 1; }
  .tws-footer-brand > p { grid-column: 1 / -1; grid-row: 2; margin: 2px 0 0; font-size: 13px; }
  .tws-footer-brand .tws-socials { grid-column: 2; grid-row: 1; justify-self: end; }
  .tws-footer-main > nav:nth-of-type(1) { order: 3; }
  .tws-footer-main > nav:nth-of-type(2) { order: 4; }
  .tws-footer-label { margin: 0 0 13px; font-size: 13px; }
  .tws-footer-links { gap: 9px; }
  .tws-footer-links a { align-items: flex-start; font-size: 12px; line-height: 1.35; }
  .tws-footer-links a::before { margin-top: 5px; }
  .tws-footer-contact-card { grid-column: 1 / -1; order: 2; padding: 19px; }
  .tws-footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  .tws-footer-contact__row:last-child { grid-column: 1 / -1; }
  .tws-footer-bottom__inner { gap: 12px; padding: 17px 0; }
  .tws-legal-links { display: flex; flex-wrap: nowrap; gap: 20px; }
  .tws-legal-links a { font-size: clamp(10px, 3vw, 12px); white-space: nowrap; }

  .tws-callback-dialog { width: calc(100% - 24px); }
  .tws-callback-dialog__panel { padding: 30px 20px 24px; }
  .tws-callback-dialog__close { top: 15px; right: 15px; }
  .tws-callback-dialog__title,
  .tws-callback-success__title { font-size: 29px; }
}

@media (max-width: 360px) {
  .tws-site-nav > ul { grid-template-columns: 1fr; }
  .tws-site-nav .tws-nav-contact,
  .tws-site-nav .tws-mobile-nav-socials { grid-column: auto; grid-row: auto; }
  .tws-footer-main { grid-template-columns: 1fr; }
  .tws-footer-brand,
  .tws-footer-contact-card { grid-column: auto; }
  .tws-footer-contact { grid-template-columns: 1fr; }
  .tws-footer-contact__row:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .tws-site-shell *,
  .tws-site-shell *::before,
  .tws-site-shell *::after,
  form a[href*="/politika-konfidentsialnosti/"],
  form a[href*="/soglasie-na-obrabotku-personalnyh-dannyh/"],
  body.tws-shell-active .tws-product-page a[data-tws-callback-open],
  body.tws-shell-active .tws-product-page a[href^="tel:"][style*="display:inline-flex"],
  .wp-block-button__link,
  .wp-element-button,
  .elementor-widget-button .elementor-button,
  button.button-gradient,
  a.button-gradient,
  a.button,
  button.button,
  input.button,
  a.more-button,
  .vdg-form_btn,
  .wpcf7 input[type="submit"],
  .pum-close,
  .popmake-close,
  .metaslider .flex-direction-nav a,
  .metaslider .flex-control-nav a,
  .nivo-directionNav a,
  .nivo-controlNav a { animation-duration: .01ms !important; transition-duration: .01ms !important; }

  .tws-button:hover,
  .tws-button:active,
  .tws-social-link:hover,
  .tws-social-link:active,
  .tws-menu-toggle:hover,
  .tws-menu-toggle:active,
  .tws-callback-dialog__close:hover,
  .tws-callback-dialog__close:active,
  body.tws-shell-active .tws-product-page a[data-tws-callback-open]:hover,
  body.tws-shell-active .tws-product-page a[data-tws-callback-open]:active,
  body.tws-shell-active .tws-product-page a[href^="tel:"][style*="display:inline-flex"]:hover,
  body.tws-shell-active .tws-product-page a[href^="tel:"][style*="display:inline-flex"]:active,
  .wp-block-button__link:hover,
  .wp-block-button__link:active,
  .wp-element-button:hover,
  .wp-element-button:active,
  .elementor-widget-button .elementor-button:hover,
  .elementor-widget-button .elementor-button:active,
  button.button-gradient:hover,
  button.button-gradient:active,
  a.button-gradient:hover,
  a.button-gradient:active,
  a.button:hover,
  a.button:active,
  button.button:hover,
  button.button:active,
  input.button:hover,
  input.button:active,
  a.more-button:hover,
  a.more-button:active,
  .vdg-form_btn:hover,
  .vdg-form_btn:active,
  .wpcf7 input[type="submit"]:hover,
  .wpcf7 input[type="submit"]:active,
  .pum-close:hover,
  .pum-close:active,
  .popmake-close:hover,
  .popmake-close:active { transform: none !important; }
}
