@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Familjen+Grotesk:wght@400;500;600;700&family=Victor+Mono:wght@400;500;600;700&display=swap");

:root {
  --ink: #012d2c;
  --ink-2: #011b1b;
  --black: #000;
  --red: #e21f27;
  --paper: #fff;
  --sand: #f5f1ed;
  --mist: #e6eaea;
  --muted: #616161;
  --line: rgba(255, 255, 255, 0.2);
  --container: 1296px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

body.body_menu_open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.align-items-center {
  align-items: center;
}

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

.text-end {
  text-align: right;
}

.white {
  color: #fff !important;
}

.title_1,
.title_3,
.top_title {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: "Familjen Grotesk", sans-serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.title_1 {
  font-size: clamp(44px, 6vw, 78px);
}

.title_3 {
  font-size: clamp(38px, 5vw, 56px);
}

.title_2,
.home_top_top_text,
.top_breadcrumbs,
.footer_title {
  margin: 0 0 14px;
  color: var(--red);
  font-family: "Victor Mono", monospace;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.text_1 p,
.service_li_text p,
.cta_text p {
  margin: 0;
  font-size: 18px;
}

.button_1,
.cta_button,
.cta_button_2,
.link_2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  gap: 10px;
  padding: 17px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--red);
  color: #fff !important;
  font-family: "Victor Mono", monospace;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out, transform 0.25s ease-out;
}

.button_1:hover,
.cta_button:hover,
.cta_button_2:hover {
  transform: translateY(-2px);
  background: #fff;
  color: var(--red) !important;
  border-color: var(--red);
}

.link_2 {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--red) !important;
}

.link_2:hover {
  color: #000 !important;
}

/* brand-logo image (added by brand_assets rollout) */
.logo.brand_mark {
  transform: none !important;
  white-space: normal;
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  max-width: 320px;
  transform: none !important;
}
@media (max-width: 768px) {
  .brand-logo {
    height: 32px;
    max-width: 230px;
  }
}

.brand_mark {
  display: inline-block;
  color: var(--red);
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 0.86;
  text-decoration: none !important;
  text-transform: uppercase;
  transform: skewX(-8deg);
  white-space: nowrap;
}

.brand_mark span {
  display: block;
  color: #fff;
  font-family: "Victor Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transform: skewX(8deg);
}

.header_wrap,
.fixed_header {
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 22px 0;
}

.header_wrap {
  position: absolute;
  top: 0;
}

.fixed_header {
  position: fixed;
  top: 0;
  background: rgba(0, 0, 0, 0.92);
  transform: translateY(-110%);
  transition: transform 0.25s ease-out;
}

.fixed_header_active .fixed_header {
  transform: translateY(0);
}

.header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.header_right {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.header_contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header_contacts li,
.header_contacts a {
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none !important;
}

.header_contacts a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.25s ease-out;
}

.header_contacts a::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(226, 31, 39, 0.45);
  box-shadow: inset 0 0 0 1px rgba(226, 31, 39, 0.35);
}

.header_contacts a:hover {
  color: var(--red) !important;
}

.hamburger,
.hamburger_close {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 4px;
  background: #fff;
  transition: background-color 0.25s ease-out, transform 0.25s ease-out;
}

.hamburger span::before {
  transform: translateY(-10px);
}

.hamburger span::after {
  transform: translateY(7px);
}

.hamburger:hover span,
.hamburger:hover span::before,
.hamburger:hover span::after {
  background: var(--red);
}

.hamburger_close {
  position: absolute;
  top: 26px;
  right: 32px;
}

.hamburger_close::before,
.hamburger_close::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 3px;
  background: #fff;
}

.hamburger_close::before {
  transform: rotate(45deg);
}

.hamburger_close::after {
  transform: rotate(-45deg);
}

.popup_wrap {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: linear-gradient(180deg, #010707 0%, #011b1b 34%, #012d2c 100%);
  color: #fff;
  overflow-y: auto;
}

.popup_wrap.active {
  display: block;
}

.popup_inner {
  min-height: 100vh;
  padding: 72px 0 60px;
}

.popup_grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 70px;
  align-items: start;
}

.popup_logo {
  margin-bottom: 52px;
}

.mainmenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mainmenu > ul > li {
  margin: 0 0 12px;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
}

.mainmenu a {
  color: #fff !important;
  text-decoration: none !important;
  transition: color 0.25s ease-out;
}

.mainmenu a:hover,
.mainmenu .ul_toggled > a {
  color: var(--red) !important;
}

.mainmenu .sub-menu {
  display: none;
  padding: 14px 0 2px 20px;
}

.mainmenu .ul_toggled > .sub-menu,
.mainmenu li:hover > .sub-menu {
  display: block;
}

.mainmenu .sub-menu li {
  margin: 0 0 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.popup_form {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
}

.popup_form_title {
  margin: 0 0 16px;
  color: #fff;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 28px;
}

.home_top_wrap {
  position: relative;
  min-height: 690px;
  padding: 215px 0 120px;
  overflow: hidden;
  background-position: center center;
  background-size: cover;
}

.home_top_wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.86;
  background: linear-gradient(270deg, rgba(35, 31, 32, 0) 0%, rgba(35, 31, 32, 0.6) 51%, rgba(35, 31, 32, 0.78) 69%, #231f20 100%);
}

.home_top_top_gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}

.home_top {
  position: relative;
  z-index: 1;
}

.home_top_left_inner {
  width: 660px;
  max-width: 100%;
}

.home_top_title {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: clamp(58px, 7vw, 96px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.home_top_wrap .home_top_top_text {
  color: #fff;
}

.home_top_text p {
  margin: 0 0 40px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

.home_why_wrap {
  padding: 96px 0 56px;
  background: radial-gradient(circle at 50% 82%, rgba(1, 45, 44, 0.06), transparent 36%), #fff;
}

.home_why_top {
  width: 895px;
  max-width: 100%;
  margin: 0 auto 62px;
}

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

.hw_li_inner {
  text-align: center;
}

.hw_li_icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 24px;
  color: var(--red);
}

.hw_li_title {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 500;
}

.hw_li_text p {
  color: var(--muted);
  font-size: 16px;
}

.home_about_wrap {
  background: var(--ink);
  padding: 92px 0;
}

.home_about_row_1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 62px;
  align-items: center;
}

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

.image_1 {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  border-radius: 16px;
}

.home_services_wrap {
  background: var(--mist);
  padding: 96px 0;
}

.home_services_row_1 {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 52px;
}

.service_track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 310px;
  gap: 30px;
  overflow-x: auto;
  padding: 0 0 8px;
  scroll-snap-type: x proximity;
}

.service_track::-webkit-scrollbar {
  height: 8px;
}

.service_track::-webkit-scrollbar-thumb {
  background: rgba(1, 45, 44, 0.35);
  border-radius: 999px;
}

.service_li {
  scroll-snap-align: start;
}

.service_li_inner {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.service_li_image {
  width: 100%;
  height: 470px;
  object-fit: cover;
  transition: transform 0.35s ease-out;
}

.service_li_inner:hover .service_li_image {
  transform: scale(1.07);
}

.service_li_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 45, 44, 0) 45%, rgba(1, 45, 44, 0.72) 72%, var(--ink) 100%);
}

.service_li_bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 24px 24px;
  color: #fff;
}

.service_li_title {
  margin: 0 0 10px;
  color: #fff;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.14;
}

.service_li_text p {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.service_li_link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.home_cta_wrap,
.services_3_wrap {
  background: var(--mist);
  padding: 0 0 92px;
}

.cta_wrap {
  border-radius: 18px;
  padding: 66px 48px;
  background: linear-gradient(135deg, rgba(1, 45, 44, 0.96), rgba(0, 0, 0, 0.94)), var(--ink);
  color: #fff;
}

.cta_title {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 600;
  line-height: 1.02;
}

.cta_text {
  width: 780px;
  max-width: 100%;
  margin: 0 auto 28px;
}

.cta_buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.cta_button_2 {
  background: transparent;
  border-color: #fff;
}

.site_band_dark {
  background: var(--ink);
  padding: 96px 0;
  color: #fff;
}

.dark_card_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.dark_card {
  min-height: 210px;
  border-radius: 16px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none !important;
  transition: background-color 0.25s ease-out, transform 0.25s ease-out;
}

.dark_card:hover {
  transform: translateY(-4px);
  background: rgba(226, 31, 39, 0.2);
}

.dark_card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 24px;
}

.dark_card p {
  margin: 0;
  color: #e4e4e4;
  font-size: 15px;
}

.home_blogs_wrap,
.index_wrap,
.taxonomy_wrap,
.about_why_wrap,
.contact_3_wrap {
  padding: 92px 0;
  background: #fff;
}

.hb_grid,
.index_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}

.index_grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hb_li,
.index_card {
  display: block;
  min-height: 220px;
  border-radius: 16px;
  background: var(--sand);
  overflow: hidden;
  color: var(--muted);
  text-decoration: none !important;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.index_card {
  padding: 24px;
}

.hb_li:hover,
.index_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.hb_li img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.hb_li_content {
  padding: 24px;
}

.hb_li h3,
.index_card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 25px;
  line-height: 1.1;
}

.hb_li p,
.index_card p {
  margin: 0;
  font-size: 15px;
}

.top_wrap {
  position: relative;
  min-height: 430px;
  padding: 165px 0 72px;
  background: linear-gradient(180deg, #010707 0%, #011b1b 34%, var(--ink) 100%);
  overflow: hidden;
}

.top_wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.18), transparent);
}

.top_wrap .top_title {
  color: #fff;
}

.top_grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.8fr);
  gap: 48px;
  align-items: end;
}

.top_text {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.top_image {
  width: 100%;
  height: 345px;
  border-radius: 16px;
  object-fit: cover;
}

.services_1_wrap {
  padding: 86px 0;
  background: #fff;
}

.services_1_row_1 {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
  gap: 58px;
}

.taxonomy_copy p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
}

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

.detail_panel {
  padding: 28px;
  border-radius: 16px;
  background: var(--sand);
}

.detail_panel h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 24px;
}

.detail_panel p {
  margin: 0;
  font-size: 15px;
}

.side_box {
  position: sticky;
  top: 120px;
  padding: 30px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
}

.side_box h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 30px;
}

.side_box p {
  color: #e4e4e4;
}

.side_phone {
  display: block;
  margin-top: 20px;
  color: #fff !important;
  font-family: "Victor Mono", monospace;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none !important;
}

.faq_section {
  padding: 86px 0;
  background: var(--sand);
}

.faq_list {
  width: 920px;
  max-width: 100%;
  margin: 40px auto 0;
}

details {
  border-top: 1px solid rgba(1, 45, 44, 0.18);
  padding: 22px 0;
}

details:last-child {
  border-bottom: 1px solid rgba(1, 45, 44, 0.18);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 600;
}

details p {
  margin: 14px 0 0;
}

.contact_1_wrap {
  padding: 90px 0;
  background: var(--sand);
}

.contact_1_grid {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.contact_1_col {
  margin-bottom: 24px;
}

.contact_1_col label {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
  font-family: "Victor Mono", monospace;
  font-weight: 600;
  text-transform: uppercase;
}

.contact_1_col a,
.contact_1_col span {
  display: block;
  color: var(--ink) !important;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 500;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact_form,
.consultation_form {
  border-radius: 18px;
  background: #fff;
  padding: 34px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.form_grid .full {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid #f0e7df;
  border-radius: 30px;
  background: #fff;
  color: var(--muted);
  padding: 17px 22px;
  font: inherit;
}

textarea {
  min-height: 142px;
  border-radius: 22px;
  resize: vertical;
}

.submit_fake {
  margin-top: 14px;
}

.footer_wrap {
  background: #000;
  color: #e4e4e4;
}

.footer_top_wrap,
.footer_middle_wrap {
  border-bottom: 1px solid var(--line);
}

.footer_top_wrap {
  padding: 42px 0;
}

.footer_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer_middle_wrap {
  padding: 44px 0 6px;
}

.footer_middle {
  display: grid;
  grid-template-columns: 1fr 2fr 1.2fr;
  gap: 46px;
}

.footermenu ul,
.footer_contacts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer_middle_col_2 .footermenu ul {
  columns: 2;
}

.footermenu li,
.footer_contacts li {
  margin: 0 0 13px;
}

.footermenu a,
.footer_contacts a {
  color: #e4e4e4 !important;
  text-decoration: none !important;
  transition: color 0.25s ease-out;
}

.footermenu a:hover,
.footer_contacts a:hover {
  color: var(--red) !important;
}

.footer_bottom_wrap {
  padding: 20px 0;
}

.footer_bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.copyright {
  color: #e4e4e4;
  font-size: 15px;
}

@media (max-width: 1100px) {
  .header_contacts {
    display: none;
  }

  .why_grid,
  .dark_card_grid,
  .index_grid,
  .hb_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home_about_row_1,
  .top_grid,
  .services_1_row_1,
  .contact_1_grid {
    grid-template-columns: 1fr;
  }

  .top_image {
    height: 300px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 26px, var(--container));
  }

  .header_wrap,
  .fixed_header {
    padding: 18px 0;
  }

  .brand_mark {
    font-size: 21px;
  }

  .brand_mark span {
    font-size: 10px;
  }

  .home_top_wrap {
    min-height: 520px;
    padding: 128px 0 70px;
  }

  .home_top_title {
    font-size: clamp(48px, 14vw, 64px);
  }

  .home_top_text p {
    font-size: 18px;
  }

  .button_1,
  .cta_button,
  .cta_button_2 {
    width: 100%;
    max-width: 330px;
  }

  .why_grid,
  .dark_card_grid,
  .index_grid,
  .hb_grid,
  .detail_panels,
  .footer_middle {
    grid-template-columns: 1fr;
  }

  .home_services_row_1,
  .footer_top,
  .footer_bottom,
  .cta_buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .home_why_wrap,
  .home_about_wrap,
  .home_services_wrap,
  .site_band_dark,
  .home_blogs_wrap,
  .index_wrap,
  .taxonomy_wrap,
  .services_1_wrap,
  .contact_1_wrap,
  .faq_section {
    padding: 66px 0;
  }

  .home_cta_wrap,
  .services_3_wrap {
    padding-bottom: 66px;
  }

  .service_track {
    grid-auto-columns: minmax(270px, 82vw);
  }

  .popup_grid,
  .form_grid {
    grid-template-columns: 1fr;
  }

  .popup_grid {
    gap: 34px;
  }

  .popup_form {
    padding: 24px;
  }

  .mainmenu > ul > li {
    font-size: 38px;
  }

  .top_wrap {
    min-height: 360px;
    padding: 128px 0 58px;
  }

  .top_title {
    font-size: 48px;
  }

  .top_image {
    height: 240px;
  }

  .contact_1_col a,
  .contact_1_col span {
    font-size: 21px;
  }

  .footer_middle_col_2 .footermenu ul {
    columns: 1;
  }
}

/* ============================================================
   Mobile optimization + hamburger hardening (Pass B)
   ============================================================ */

/* Media safety net: nothing pushes past the viewport at any width. */
img,
iframe,
video,
embed,
object,
canvas,
svg {
  max-width: 100%;
}

iframe,
video,
embed,
object {
  height: auto;
}

table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
}

pre {
  max-width: 100%;
  overflow-x: auto;
}

/* Style the Timeline <select> in the legacy .form_grid form like the inputs. */
select {
  width: 100%;
  border: 1px solid #f0e7df;
  border-radius: 30px;
  background: #fff;
  color: var(--muted);
  padding: 17px 22px;
  font: inherit;
  min-height: 54px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%23616161' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  padding-right: 46px;
}

/* The drawer sits above everything; close button is an on-theme tappable circle. */
.popup_wrap {
  z-index: 1000;
}

.hamburger,
.hamburger_close {
  min-width: 44px;
  min-height: 44px;
}

.hamburger_close {
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(226, 31, 39, 0.92);
  z-index: 1001;
}

.hamburger_close::before,
.hamburger_close::after {
  width: 22px;
  height: 3px;
  border-radius: 3px;
}

.hamburger_close:hover {
  background: #fff;
}

.hamburger_close:hover::before,
.hamburger_close:hover::after {
  background: var(--red);
}

/* Explicit phone-width pass (375–768px): stack, pad, tap, no overflow. */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  /* Collapse every multi-column grid/flex row down to a single column. */
  .why_grid,
  .dark_card_grid,
  .index_grid,
  .hb_grid,
  .detail_panels,
  .home_about_images,
  .home_about_row_1,
  .top_grid,
  .services_1_row_1,
  .contact_1_grid,
  .footer_middle,
  .popup_grid,
  .form_grid {
    grid-template-columns: 1fr;
  }

  .home_services_row_1,
  .footer_top,
  .footer_bottom,
  .cta_buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Readable, well-spaced hero + body type. */
  .home_top_title {
    font-size: clamp(40px, 11vw, 60px);
  }

  .top_title,
  .title_1 {
    font-size: clamp(34px, 8vw, 50px);
  }

  .cta_title,
  .title_3 {
    font-size: clamp(30px, 7vw, 44px);
  }

  body {
    font-size: 16px;
  }

  .top_text,
  .home_top_text p,
  .text_1 p,
  .cta_text p {
    font-size: 17px;
  }

  /* Comfortable tap targets for every interactive element. */
  .mainmenu a,
  .footermenu a,
  .footer_contacts a,
  .header_contacts a,
  .submenu a,
  .sub-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .button_1,
  .cta_button,
  .cta_button_2,
  .link_2,
  .submit_fake {
    min-height: 48px;
  }

  input,
  textarea,
  select {
    min-height: 50px;
    font-size: 16px; /* prevents iOS zoom-on-focus */
  }

  /* Roomier drawer items on small screens. */
  .popup_inner {
    padding: 64px 0 48px;
  }

  .mainmenu > ul > li {
    margin-bottom: 16px;
  }

  .contact_form,
  .consultation_form {
    padding: 22px;
  }

  .cta_wrap {
    padding: 44px 22px;
  }
}

/* Extra-small phones (≤420px): tighten further, keep edges padded. */
@media (max-width: 420px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand_mark {
    font-size: 20px;
  }

  .top_image {
    height: 210px;
  }
}

/* ============================================================
   Riverside polish pass: icons, locations, detail pages, forms
   ============================================================ */

.header_contacts {
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.header_contacts a {
  max-width: min(46vw, 445px);
}

.header_contacts li {
  min-width: 0;
}

.header_contacts a span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header_contacts li:last-child a {
  max-width: none;
  white-space: nowrap;
}

.header_contacts a::before {
  content: none;
  display: none;
}

.header_contact_icon,
.site_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
}

.header_contact_icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(226, 31, 39, 0.72);
}

.header_contact_icon svg,
.site_icon svg,
.contact_actions svg,
.mobile_call_sticky svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site_icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--red), #831015);
  box-shadow: 0 18px 34px rgba(226, 31, 39, 0.22);
}

.site_icon svg {
  width: 34px;
  height: 34px;
}

.locations_cinema_wrap {
  padding: 96px 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.72)),
    var(--ink);
  color: #fff;
}

.locations_cinema_head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.locations_cinema_head .title_3 {
  max-width: 720px;
  margin-bottom: 0;
}

.locations_cinema_grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.location_cinema_card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  color: #fff !important;
  text-decoration: none !important;
  isolation: isolate;
}

.location_cinema_card:nth-child(1),
.location_cinema_card:nth-child(6) {
  grid-column: span 2;
}

.location_cinema_card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.35s ease-out, opacity 0.35s ease-out;
}

.location_cinema_card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, 0.78) 100%);
}

.location_cinema_card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.location_cinema_card:hover img {
  transform: scale(1.08);
  opacity: 0.9;
}

.detail_polished_wrap {
  background: linear-gradient(180deg, #fff 0%, #fff 62%, var(--sand) 100%);
}

.detail_polished_grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  align-items: start;
}

.detail_polished_grid .taxonomy_copy {
  padding: 8px 0;
}

.detail_polished_grid .taxonomy_copy p:first-child {
  padding: 28px 30px;
  border-left: 6px solid var(--red);
  border-radius: 0 18px 18px 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Familjen Grotesk", sans-serif;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

.scope_card {
  top: 110px;
  padding: 24px;
  border: 1px solid rgba(226, 31, 39, 0.28);
  background: linear-gradient(180deg, #061514 0%, #010707 100%);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.16);
}

.scope_card h2 {
  font-size: 25px;
}

.scope_card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.scope_card .side_phone {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  background: var(--red);
  color: #fff !important;
  font-size: 17px;
}

.contact_1_left p {
  margin-top: 0;
}

.contact_actions {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.contact_actions a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  color: var(--ink) !important;
  font-weight: 800;
  text-decoration: none !important;
  overflow-wrap: anywhere;
}

.contact_actions svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.map_embed {
  width: 100%;
  min-height: 220px;
  overflow: hidden;
  border-radius: 18px;
  background: #d9dfdf;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.map_embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}

.footer_middle .map_embed {
  margin-top: 20px;
  min-height: 160px;
  border-radius: 14px;
  box-shadow: none;
}

.footer_middle .map_embed iframe {
  min-height: 160px;
}

.hp_field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pzxdk-h-contact-form select {
  color: var(--ink);
  background-color: #fff;
}

.mobile_call_sticky {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: none;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

@media (max-width: 1180px) {
  .locations_cinema_grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .location_cinema_card:nth-child(1),
  .location_cinema_card:nth-child(6) {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .locations_cinema_head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .location_cinema_card,
  .location_cinema_card img {
    min-height: 220px;
  }

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

  .detail_polished_grid .taxonomy_copy p:first-child {
    padding: 22px;
    font-size: 25px;
  }

  .scope_card {
    position: static;
  }

  .contact_actions a {
    font-size: 15px;
  }

  .mobile_call_sticky {
    display: inline-flex;
  }
}
