/* Kazakov / NSK54 theme — graphite, teal and safety yellow. */
:root {
  --ink: #111417;
  --ink-deep: #090c0e;
  --ink-soft: #181d21;
  --teal: #1d5664;
  --teal-dark: #15424d;
  --yellow: #f2c94c;
  --yellow-hover: #e3aa25;
  --paper: #f5f5f3;
  --white: #fff;
  --text: #252a2e;
  --muted: #7b8288;
  --line: #444b51;
  --light-line: #dde0e2;
  --radius: 6px;
  --shadow: 0 15px 35px rgba(0, 0, 0, .22);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: #f5f6f7;
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
#page { min-height: 100vh; display: flex; flex-direction: column; }
#main, #main-content { flex: 1 0 auto; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
a:hover { color: var(--yellow); }
h1, h2, h3, h4, h5, h6 { margin-top: 0; font-weight: 800; line-height: 1.18; }
p { margin-top: 0; }
ul, ol { margin-top: 0; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(242, 201, 76, .75); outline-offset: 3px; }
.visually-hidden.focusable:focus { position: fixed !important; z-index: 10000; top: 10px; left: 10px; width: auto; height: auto; padding: 10px 16px; clip: auto; background: var(--white); color: var(--ink); }

/* Drupal utilities remain available to editors. */
.contextual-region { position: relative; }
.contextual { z-index: 1000; }
.front-system-content:empty { display: none; }
.front-system-content { color: var(--text); background: var(--paper); }
.front-system-content .tabs { padding-top: 14px; }
.messages { max-width: var(--container); margin: 20px auto; }

/* Buttons and Ajax dialogs. */
.button,
a.button,
.form-actions .form-submit,
.webform-button--submit {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover, .form-submit:hover { transform: translateY(-1px); }
.button--primary,
.form-actions .form-submit,
.webform-button--submit { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.button--primary:hover,
.form-actions .form-submit:hover,
.webform-button--submit:hover { border-color: var(--yellow-hover); background: var(--yellow-hover); color: var(--ink); }
.button--outline { border-color: var(--yellow); background: transparent; color: var(--yellow); }
.button--outline:hover { background: var(--yellow); color: var(--ink); }
.button--outline-dark { border-color: var(--ink); background: transparent; color: var(--ink); }
.button--outline-dark:hover { background: var(--ink); color: var(--yellow); }
.button--small { min-height: 32px; padding: 7px 14px; font-size: 13px; }
.button--large { min-height: 54px; padding: 16px 32px; text-transform: uppercase; }
.ui-dialog { position: fixed !important; max-width: calc(100vw - 30px); border: 0 !important; border-radius: 8px; box-shadow: 0 25px 70px rgba(0,0,0,.55); }
.ui-dialog .ui-dialog-titlebar { border: 0; border-radius: 8px 8px 0 0; background: var(--ink); color: var(--white); }
.ui-dialog .ui-dialog-content { padding: 24px; color: var(--text); }

/* Three-row header. */
.site-header { position: relative; z-index: 100; background: var(--ink); border-bottom: 1px solid var(--line); }
.header-utility { min-height: 40px; border-bottom: 1px solid #23282c; background: var(--ink-deep); color: #a5abb0; font-size: 13px; }
.header-utility__inner,
.header-utility__details,
.header-utility__actions,
.header-brand__inner,
.header-brand__contacts { display: flex; align-items: center; }
.header-utility__inner { min-height: 40px; justify-content: space-between; gap: 20px; }
.header-utility__details { gap: 28px; }
.header-utility__actions { gap: 16px; }
.header-detail { position: relative; padding-left: 20px; white-space: nowrap; }
.header-detail::before { position: absolute; left: 0; top: .05em; color: var(--yellow); font-size: 14px; }
.header-detail--address::before { content: "●"; }
.header-detail--hours::before { content: "◷"; font-size: 17px; line-height: 1; }
.header-phone { color: var(--yellow); font-weight: 800; white-space: nowrap; }
.social-links { display: flex; align-items: center; gap: 8px; }
.social-links a,
.footer-socials a { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; color: var(--yellow); font-size: 9px; font-weight: 900; }
.social-links img, .footer-socials img { width: 100%; height: 100%; object-fit: contain; }
.header-brand { background: var(--ink); }
.header-brand__inner { min-height: 110px; justify-content: space-between; gap: 40px; }
.site-logo { flex: 0 0 auto; }
.site-logo img { width: 218px; max-height: 96px; object-fit: contain; }
.header-search { flex: 1 1 320px; max-width: 350px; margin-left: auto; }
.header-search .region,
.header-search .block,
.header-search form { width: 100%; margin: 0; }
.header-search form { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.header-search .form-item,
.header-search .form-actions { margin: 0; }
.header-search input.form-search {
  width: 100%;
  height: 46px;
  padding: 0 15px;
  border: 1px solid #3b4348;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  background: #181d21;
  color: var(--white);
  box-shadow: none;
}
.header-search input.form-search::placeholder { color: #92999e; opacity: 1; }
.header-search input.form-search:focus { border-color: var(--yellow); outline: 0; box-shadow: 0 0 0 3px rgba(242,201,76,.16); }
.header-search .search-form__submit {
  min-width: 88px;
  height: 46px;
  padding: 0 17px;
  border: 1px solid var(--yellow);
  border-radius: 0 4px 4px 0;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.header-search .search-form__submit:hover,
.header-search .search-form__submit:focus { border-color: var(--yellow-hover); background: var(--yellow-hover); color: var(--ink); }
.header-brand__contacts { gap: 38px; }
.header-brand__contacts > div { display: flex; flex-direction: column; }
.header-brand__contacts span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.header-brand__contacts strong { font-size: 14px; font-weight: 600; }
.header-brand__contacts a { color: var(--yellow); font-size: 21px; font-weight: 900; }
.main-navigation { min-height: 51px; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 3px solid var(--yellow); background: var(--teal); }
.main-navigation .region,
.main-navigation .block { margin: 0; }
.main-navigation .nav { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.main-navigation .nav-item { position: relative; }
.main-navigation .nav-link { display: block; padding: 13px 20px; color: var(--white); font-size: 15px; font-weight: 600; }
.main-navigation .nav-link:hover,
.main-navigation .nav-link.active,
.main-navigation .nav-item:hover > .nav-link { background: var(--ink); color: var(--yellow); }
.main-navigation .dropdown-toggle::after { display: inline-block; margin-left: 7px; content: "▾"; font-size: 10px; }
.main-navigation .dropdown-menu { position: absolute; z-index: 10; top: 100%; left: 0; display: none; min-width: 270px; margin: 0; padding: 6px 0; border: 1px solid var(--line); border-radius: 0 0 4px 4px; background: var(--ink); box-shadow: var(--shadow); list-style: none; }
.main-navigation .nav-item:hover > .dropdown-menu,
.main-navigation .nav-item:focus-within > .dropdown-menu { display: block; }
.main-navigation .dropdown-item { display: block; padding: 10px 16px; border-bottom: 1px solid #252a2e; color: #edf0f2; font-size: 14px; }
.main-navigation .dropdown-item:hover { background: var(--teal); color: var(--yellow); }
.mobile-menu-toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.mobile-menu-toggle span { width: 27px; height: 3px; border-radius: 2px; background: var(--yellow); transition: transform .25s, opacity .25s; }
.mobile-menu-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Shared front-page presentation. */
.front-section { position: relative; }
.front-section .block { margin: 0; }
.front-section .block > h2,
.front-section .view-header h2,
.front-section .block__title {
  margin: 0 0 42px;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -.02em;
  text-align: center;
  text-transform: uppercase;
}
.front-section .block > h2::after,
.front-section .view-header h2::after,
.front-section .block__title::after { display: block; width: 60px; height: 4px; margin: 14px auto 0; background: var(--yellow); content: ""; }
.front-section .field--name-body > :last-child { margin-bottom: 0; }

/* Hero: a content block plus Webform block naturally form two columns. */
.hero-section {
  min-height: 580px;
  padding: 68px 0 80px;
  background: linear-gradient(90deg, rgba(9,12,14,.92) 0%, rgba(9,12,14,.72) 52%, rgba(9,12,14,.35) 100%), url("../image/kazakov/hero_arenda_stroitelnoy_tehniki-cd593393.webp") center/cover no-repeat;
}
.region-slider { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 42px; align-items: center; }
.region-slider > .block:first-child { max-width: 710px; }
.region-slider > .block:first-child > h2 { margin: 0 0 20px; color: var(--white); font-size: clamp(34px, 4vw, 48px); line-height: 1.1; text-align: left; }
.region-slider > .block:first-child > h2::after { display: none; }
.region-slider > .block:first-child .field--name-body { color: #d0d4d9; font-size: 18px; }
.region-slider > .block:first-child .field--name-body ul { display: grid; gap: 9px; margin: 26px 0 34px; padding: 0; list-style: none; color: var(--white); font-size: 16px; font-weight: 600; }
.region-slider > .block:first-child .field--name-body li { position: relative; padding-left: 31px; }
.region-slider > .block:first-child .field--name-body li::before { position: absolute; left: 0; color: var(--yellow); content: "✓"; font-size: 20px; font-weight: 900; }
.region-slider > .block:first-child .field--name-body a { display: inline-flex; margin: 4px 12px 4px 0; padding: 15px 28px; border: 2px solid var(--yellow); border-radius: 4px; background: var(--yellow); color: var(--ink); font-size: 15px; font-weight: 800; text-transform: uppercase; }
.region-slider > .block:first-child .field--name-body a + a { background: transparent; color: var(--yellow); }
.region-slider > .block:not(:first-child) { padding: 28px; border-top: 5px solid var(--yellow); border-radius: var(--radius); background: var(--white); color: var(--text); box-shadow: 0 16px 38px rgba(0,0,0,.42); }
.region-slider > .block:not(:first-child) > h2 { margin-bottom: 10px; color: var(--ink); font-size: 21px; text-align: left; text-transform: none; }
.region-slider > .block:not(:first-child) > h2::after { display: none; }

/* Forms, including generic Webform markup. */
.webform-submission-form .form-item { margin: 0 0 14px; }
.webform-submission-form label { display: block; margin-bottom: 5px; color: var(--text); font-size: 13px; font-weight: 700; }
.webform-submission-form .form-required::after { color: #b44132; }
.webform-submission-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.webform-submission-form select,
.webform-submission-form textarea,
.form-text, .form-email, .form-tel, .form-select, .form-textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #cdd2d5; border-radius: 4px; background: var(--white); color: var(--text); outline: 0;
}
.webform-submission-form textarea, .form-textarea { min-height: 94px; resize: vertical; }
.webform-submission-form input:focus,
.webform-submission-form select:focus,
.webform-submission-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(29,86,100,.13); }
.webform-submission-form .form-actions { margin: 18px 0 0; }
.webform-submission-form .form-actions input { width: 100%; }
.webform-element-description, .description { color: var(--muted); font-size: 12px; }

/* Company figures. */
.numbers-section { padding: 28px 0; border-bottom: 1px solid var(--line); background: var(--teal); }
.region-numbers,
.region-numbers .field--name-body { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.region-numbers > .block:only-child { grid-column: 1 / -1; }
.region-numbers .block,
.region-numbers .field--name-body > * { margin: 0; text-align: center; }
.region-numbers h2 { margin: 0 0 4px !important; color: var(--yellow); font-size: clamp(29px, 3vw, 39px) !important; line-height: 1; }
.region-numbers h2::after { display: none !important; }
.region-numbers p { margin: 0; color: var(--white); font-size: 14px; font-weight: 600; }

/* About company. */
.about-section { padding: 82px 0; background: var(--ink); }
.region-about { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.region-about > .block:only-child { grid-column: 1 / -1; }
.region-about > .block > h2 { margin-bottom: 24px; color: var(--white); font-size: clamp(29px, 3vw, 38px); text-align: left; text-transform: none; }
.region-about > .block > h2::after { margin-left: 0; }
.region-about .field--name-body { color: #a0aab2; }
.region-about .field--type-image img { width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; object-fit: cover; box-shadow: 0 20px 40px rgba(0,0,0,.4); }

/* Catalog taxonomy and product grids. */
.catalog-section { padding: 80px 0; background: var(--paper); color: var(--text); }
.catalog-section .view-content,
.catalog-section .views-view-grid,
.view-tovary .view-content,
.view-products .view-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.catalog-section .views-view-grid .views-col { width: auto !important; }
.catalog-section .views-row { min-width: 0; }
.catalog-section .views-field-field-catalog-image,
.catalog-section .field--name-field-catalog-image { height: 210px; overflow: hidden; background: #e7e8e8; }
.catalog-section .views-field-field-catalog-image img,
.catalog-section .field--name-field-catalog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.catalog-section .views-row {
  overflow: hidden; border: 1px solid #dedfdf; border-radius: var(--radius); background: var(--white); box-shadow: 0 3px 10px rgba(0,0,0,.04); transition: transform .25s, box-shadow .25s;
}
.catalog-section .views-row:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(0,0,0,.11); }
.catalog-section .views-row:hover img { transform: scale(1.04); }
.catalog-section .views-field-name { min-height: 82px; padding: 22px; }
.catalog-section .views-field-name a { color: var(--ink); font-size: 20px; font-weight: 800; }
.catalog-section .more-link { margin-top: 38px; text-align: center; }
.catalog-section .more-link a { display: inline-flex; padding: 13px 26px; border: 2px solid var(--ink); border-radius: 4px; color: var(--ink); font-weight: 800; }

/* Narrow CTA/count strip after the catalog. */
.catalog-count-section { padding: 24px 0; background: var(--paper); color: var(--text); }
.region-count { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 28px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--white); }
.region-count .block { flex: 1; }
.region-count h2 { margin: 0 !important; font-size: 18px !important; text-align: left !important; text-transform: none !important; }
.region-count h2::after { display: none !important; }
.region-count p { margin: 0; }
.region-count a { display: inline-flex; padding: 11px 22px; border-radius: 4px; background: var(--yellow); color: var(--ink); font-weight: 800; }

/* Benefits. */
.benefits-section { padding: 82px 0; background: var(--ink); }
.region-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.region-benefits > .block:first-child:has(h2) { grid-column: 1 / -1; border: 0; padding: 0; background: transparent; }
.region-benefits > .block:first-child:has(h2) h2 { margin-bottom: 42px; }
.region-benefits > .block:not(:first-child),
.region-benefits > .block:not(:has(h2)) { padding: 28px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-soft); text-align: center; transition: border-color .25s, transform .25s; }
.region-benefits > .block:hover { border-color: var(--yellow); transform: translateY(-3px); }
.region-benefits .field--type-image img { width: 62px; height: 62px; margin: 0 auto 17px; padding: 13px; border-radius: 50%; background: rgba(242,201,76,.1); object-fit: contain; }
.region-benefits .block h2 { margin: 0 0 10px; color: var(--white); font-size: 18px; text-transform: none; }
.region-benefits .block h2::after { display: none; }
.region-benefits p { margin: 0; color: var(--muted); font-size: 14px; }

/* Rental process. */
.process-section { padding: 80px 0; background: var(--paper); color: var(--text); }
.region-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: rental-step; }
.region-process > .block:first-child:has(h2) { grid-column: 1 / -1; padding: 0; border: 0; background: transparent; box-shadow: none; }
.region-process > .block:not(:first-child),
.region-process > .block:not(:has(h2)) { position: relative; padding: 70px 22px 26px; border-top: 4px solid var(--teal); border-radius: var(--radius); background: var(--white); box-shadow: 0 5px 16px rgba(0,0,0,.06); counter-increment: rental-step; }
.region-process > .block:not(:first-child)::before,
.region-process > .block:not(:has(h2))::before { position: absolute; top: 21px; left: 22px; color: var(--yellow); content: "0" counter(rental-step); font-size: 31px; font-weight: 900; line-height: 1; }
.region-process .block h2 { margin: 0 0 9px; color: var(--ink); font-size: 18px; text-align: left; text-transform: none; }
.region-process .block h2::after { display: none; }
.region-process p { margin: 0; color: var(--muted); font-size: 14px; }

/* Existing gallery View / image-field wrappers. */
.gallery-section { padding: 80px 0; background: var(--ink); }
.gallery-section .view-content,
.gallery-section .field--type-image .field__items,
.gallery-section .photoswipe-gallery .elements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.gallery-section .views-row,
.gallery-section .field--name-field-gallery > .field__item,
.gallery-section .photoswipe { position: relative; min-width: 0; overflow: hidden; border-radius: 4px; background: var(--ink-soft); }
.gallery-section a { display: block; height: 100%; }
.gallery-section img { width: 100%; height: 225px; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.gallery-section a:hover img { transform: scale(1.055); filter: brightness(.72); }
.gallery-section .pager { margin: 28px 0 0; }
.gallery-lightbox { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 50px 24px 24px; background: rgba(4,6,7,.92); }
.gallery-lightbox img { max-width: min(1100px, 94vw); max-height: 86vh; object-fit: contain; }
.gallery-lightbox button { position: absolute; top: 18px; right: 24px; width: 42px; height: 42px; border: 0; background: transparent; color: var(--white); font-size: 38px; cursor: pointer; }

/* Lead form. */
.request-section {
  padding: 78px 0;
  background: linear-gradient(90deg, rgba(9,12,14,.94), rgba(9,12,14,.58)), url("../image/kazakov/background_forma_zayavki_arenda_tehniki-7fc0c5d8.webp") center/cover no-repeat;
}
.region-webform { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 52px; align-items: center; }
.region-webform > .block:first-child { max-width: 630px; }
.region-webform > .block:first-child > h2 { margin-bottom: 18px; color: var(--white); font-size: clamp(28px, 3vw, 36px); text-align: left; text-transform: none; }
.region-webform > .block:first-child > h2::after { margin-left: 0; }
.region-webform > .block:first-child .field--name-body { color: #e2e5e7; }
.region-webform > .block:not(:first-child),
.region-webform > .block:only-child { padding: 32px 28px; border-top: 5px solid var(--yellow); border-radius: 8px; background: var(--white); color: var(--text); box-shadow: 0 18px 42px rgba(0,0,0,.42); }
.region-webform > .block:only-child { grid-column: 2; }
.region-webform > .block:not(:first-child) > h2,
.region-webform > .block:only-child > h2 { margin-bottom: 20px; color: var(--ink); font-size: 22px; text-align: center; text-transform: none; }
.region-webform > .block:not(:first-child) > h2::after,
.region-webform > .block:only-child > h2::after { display: none; }

/* Map should remain edge-to-edge, including generic block wrappers. */
.map-section { min-height: 400px; background: #d5d7d5; }
.map-section .block,
.map-section .field--name-body,
.map-section p { margin: 0; }
.map-section iframe { display: block; width: 100% !important; height: 400px !important; border: 0; filter: saturate(.75); }

/* Product cards: exactly three columns where Drupal outputs a product View. */
.view-tovary .view-content,
.view-commerce-products .view-content,
.product-grid { align-items: stretch; }
.rental-card { height: 100%; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #dedfdf; border-radius: var(--radius); background: var(--white); color: var(--text); transition: transform .25s, box-shadow .25s; }
.rental-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(0,0,0,.11); }
.rental-card__media { display: block; height: 230px; overflow: hidden; background: #e9eae9; }
.rental-card__media .field,
.rental-card__media a { height: 100%; }
.rental-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.rental-card:hover .rental-card__media img { transform: scale(1.04); }
.rental-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.rental-card__title { margin: 0 0 10px; color: var(--ink); font-size: 20px; }
.rental-card__title a { color: inherit; }
.rental-card__summary { max-height: 4.7em; overflow: hidden; margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.rental-card__summary .field__label { display: none; }
.rental-card__price { margin-top: auto; margin-bottom: 17px; color: var(--ink); font-size: 20px; font-weight: 900; }
.rental-card__price > span { display: block; color: var(--muted); font-size: 12px; font-weight: 500; text-transform: uppercase; }
.rental-card__price .field { display: inline; }
.rental-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.rental-card__actions .button { min-width: 0; padding-inline: 12px; }

/* Full product page. */
.wr_content { padding: 62px 0 78px; background: var(--paper); color: var(--text); }
.rental-product__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 52px; align-items: start; }
.rental-product__media { overflow: hidden; border-radius: 8px; background: var(--white); }
.rental-product__media .current-slide,
.rental-product__media .current-slide .element,
.rental-product__media .current-slide a { display: block; width: 100%; }
.rental-product__media img { width: 100%; max-height: 590px; object-fit: contain; }
.rental-product__info { padding: 28px; border-top: 5px solid var(--yellow); border-radius: 7px; background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.eyebrow { display: block; margin-bottom: 8px; color: var(--teal); font-size: 13px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.rental-product h1 { margin-bottom: 25px; color: var(--ink); font-size: clamp(30px, 4vw, 44px); }
.rental-product__summary { margin: -8px 0 24px; color: #4c5358; font-size: 16px; line-height: 1.7; }
.rental-product__price { margin: 0 0 24px; color: var(--ink); font-size: 29px; font-weight: 900; }
.rental-product__price > span { display: block; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.rental-product__features { margin: 0 0 26px; }
.rental-product__features .field__label { margin-bottom: 8px; font-weight: 800; }
.rental-product__note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.rental-product__details { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; margin-top: 42px; }
.rental-product__details section { padding: 28px; border-radius: 7px; background: var(--white); }
.rental-product__details h2 { color: var(--ink); font-size: 24px; }

/* Inner pages and generic Views. */
.not-front .wr_content { min-height: 50vh; }
.not-front h1 { color: var(--ink); }
.pager__items { display: flex; justify-content: center; gap: 7px; padding: 0; list-style: none; }
.pager__item a { display: grid; min-width: 38px; height: 38px; place-items: center; border: 1px solid var(--light-line); border-radius: 3px; background: var(--white); color: var(--text); }
.pager__item.is-active a, .pager__item a:hover { border-color: var(--teal); background: var(--teal); color: var(--white); }

/* Full catalog page: the same cards as the homepage, with all terms paged. */
.body-view--catalog .wr_content { padding: 46px 0 80px; background: var(--paper); }
.body-view--catalog #block-vesta-theme-page-title h1 {
  margin: 18px 0 44px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
.body-view--catalog #block-vesta-theme-page-title h1::after {
  display: block;
  width: 60px;
  height: 4px;
  margin: 14px auto 0;
  background: var(--yellow);
  content: "";
}
.body-view--catalog .view-catalog.view-display-id-page .view-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.body-view--catalog .view-catalog.view-display-id-page .views-row {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dedfdf;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 3px 10px rgba(0,0,0,.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.body-view--catalog .view-catalog.view-display-id-page .views-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0,0,0,.11);
}
.body-view--catalog .view-catalog.view-display-id-page .taxonomy-term {
  position: relative;
  display: flex;
  min-height: 420px;
  height: 100%;
  flex-direction: column;
}
.body-view--catalog .view-catalog.view-display-id-page .taxonomy-term > .content { display: contents; }
.body-view--catalog .view-catalog.view-display-id-page .taxonomy-term > h2 {
  order: 2;
  min-height: 52px;
  margin: 19px 22px 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
  text-transform: none;
}
.body-view--catalog .view-catalog.view-display-id-page .taxonomy-term > h2::after { display: none; }
.body-view--catalog .view-catalog.view-display-id-page .taxonomy-term > h2 a { color: var(--ink); }
.body-view--catalog .view-catalog.view-display-id-page .field--name-field-catalog-image {
  order: 1;
  height: 210px;
  overflow: hidden;
  background: #e7e8e8;
}
.body-view--catalog .view-catalog.view-display-id-page .field--name-field-catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.body-view--catalog .view-catalog.view-display-id-page .views-row:hover img { transform: scale(1.04); }
.body-view--catalog .view-catalog.view-display-id-page .taxonomy-term:not(:has(.field--name-field-catalog-image))::before {
  order: 1;
  height: 210px;
  flex: 0 0 210px;
  background: linear-gradient(135deg, #e6e8e8 0%, #f4f5f5 55%, #dfe2e2 100%);
  content: "";
}
.body-view--catalog .view-catalog.view-display-id-page .field--name-field-catalog-summary {
  order: 3;
  min-height: 92px;
  padding: 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.body-view--catalog .view-catalog.view-display-id-page .field--name-field-catalog-price-from {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  margin: 0;
  padding: 8px 12px !important;
  border-radius: 3px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.body-view--catalog .view-catalog.view-display-id-page .field--name-field-catalog-price-from::before { content: "От "; }
.body-view--catalog .view-catalog.view-display-id-page .field--name-field-catalog-price-from::after { content: " руб/сут"; }
.body-view--catalog .view-catalog.view-display-id-page .field--name-field-machine-key { display: none !important; }
.body-view--catalog .view-catalog.view-display-id-page .catalog-card-more {
  order: 4;
  display: inline-flex;
  width: calc(100% - 44px);
  align-self: stretch;
  justify-content: center;
  box-sizing: border-box;
  margin: auto 22px 22px;
  padding: 9px 18px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease;
}
.body-view--catalog .view-catalog.view-display-id-page .catalog-card-more:hover {
  background: var(--ink);
  color: var(--yellow);
}
.body-view--catalog .view-catalog.view-display-id-page .pager { margin-top: 42px; }
.body-view--catalog .view-catalog.view-display-id-page .pager .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.body-view--catalog .view-catalog.view-display-id-page .pager .page-link {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid #d5d8d8;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 7px rgba(0,0,0,.04);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}
.body-view--catalog .view-catalog.view-display-id-page .pager .page-link:hover {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.body-view--catalog .view-catalog.view-display-id-page .pager .page-item.active .page-link,
.body-view--catalog .view-catalog.view-display-id-page .pager .page-item.is-active .page-link {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(242,201,76,.3);
}

@media (max-width: 991px) {
  .body-view--catalog .view-catalog.view-display-id-page .view-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .body-view--catalog .wr_content { padding: 30px 0 58px; }
  .body-view--catalog #block-vesta-theme-page-title h1 { margin-bottom: 32px; }
  .body-view--catalog .view-catalog.view-display-id-page .view-content { grid-template-columns: 1fr; }
  .body-view--catalog .view-catalog.view-display-id-page .pager .pagination { gap: 5px; }
  .body-view--catalog .view-catalog.view-display-id-page .pager .page-link { min-width: 38px; height: 38px; padding-inline: 9px; }
}

/* Footer. */
.site-footer { flex: 0 0 auto; padding-top: 58px; border-top: 1px solid var(--line); background: var(--ink-deep); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1.1fr 1.2fr; gap: 42px; padding-bottom: 48px; }
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-logo img { width: 205px; max-height: 92px; object-fit: contain; }
.footer-about p, .footer-plain { font-size: 14px; line-height: 1.65; }
.footer-plain .block > h2 { display: none; }
.footer-column > h2 { position: relative; margin: 0 0 20px; padding-bottom: 10px; color: var(--white); font-size: 16px; }
.footer-column > h2::after { position: absolute; bottom: 0; left: 0; width: 31px; height: 2px; background: var(--yellow); content: ""; }
.footer-column ul, .footer-column .nav { display: block; margin: 0; padding: 0; list-style: none; }
.footer-column li { margin-bottom: 9px; }
.footer-column li a { padding: 0; color: var(--muted); font-size: 14px; }
.footer-column li a:hover { background: none; color: var(--yellow); }
.footer-column .dropdown-menu { display: none; }
.footer-contact { display: flex; flex-direction: column; margin-bottom: 14px; font-size: 14px; }
.footer-contact span { color: #555d62; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.footer-contact strong { color: var(--white); font-weight: 500; }
.footer-contact a { color: var(--yellow); font-size: 16px; font-weight: 800; }
.footer-socials { display: flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 13px; }
.footer-bottom { border-top: 1px solid #23282c; }
.footer-bottom__inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--yellow); }
#scrollToTop { position: fixed; z-index: 80; right: 32px; bottom: 32px; display: grid; width: 52px; height: 52px; place-items: center; border: 0; border-radius: 50%; opacity: 0; visibility: hidden; transform: translateY(12px); background: var(--yellow); box-shadow: 0 5px 18px rgba(0,0,0,.4); cursor: pointer; transition: opacity .2s, visibility .2s, transform .2s, background .2s; }
#scrollToTop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollToTop:hover { background: var(--yellow-hover); }
#scrollToTop img {
    width: 52px;
    height: 52px;
    border-radius: 100%;
    
}

@media (max-width: 1100px) {
  .header-utility__details { gap: 14px; }
  .header-detail--hours { display: none; }
  .header-search { display: none; }
  .header-utility__actions .button { display: none; }
  .region-slider { grid-template-columns: minmax(0, 1fr) 350px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-contacts { grid-column: 2 / 4; }
}

@media (max-width: 991px) {
  .header-utility__details { display: none; }
  .header-utility__inner { justify-content: flex-end; }
  .header-brand__inner { min-height: 86px; }
  .site-logo img { width: 175px; max-height: 74px; }
  .header-brand__contacts { display: none; }
  .mobile-menu-toggle { display: flex; margin-left: auto; }
  .main-navigation { position: absolute; top: 100%; left: 0; right: 0; display: none; max-height: calc(100vh - 86px); overflow: auto; border-top: 0; box-shadow: 0 18px 34px rgba(0,0,0,.38); }
  .main-navigation.is-open { display: block; }
  .main-navigation .container { padding: 0; }
  .main-navigation .nav { display: block; }
  .main-navigation .nav-link { padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-navigation .dropdown-menu { position: static; display: none; border: 0; box-shadow: none; background: var(--ink-deep); }
  .main-navigation .nav-item:hover > .dropdown-menu,
  .main-navigation .nav-item:focus-within > .dropdown-menu { display: none; }
  .main-navigation .nav-item.is-submenu-open > .dropdown-menu { display: block; }
  .main-navigation .dropdown-item { padding-left: 36px; }
  .region-slider, .region-webform { grid-template-columns: 1fr; }
  .region-slider > .block:not(:first-child), .region-webform > .block:not(:first-child), .region-webform > .block:only-child { grid-column: auto; width: min(100%, 520px); }
  .region-about { grid-template-columns: 1fr; gap: 38px; }
  .catalog-section .view-content, .catalog-section .views-view-grid, .view-tovary .view-content, .view-products .view-content { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .region-benefits, .region-process { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-section .view-content, .gallery-section .field--type-image .field__items, .gallery-section .photoswipe-gallery .elements { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rental-product__top { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-contacts { grid-column: auto; }
}

@media (max-width: 767px) {
  .container { padding-inline: 16px; }
  .header-utility__actions .social-links, .header-utility__actions .button { display: none; }
  .header-utility__inner { justify-content: center; }
  .hero-section { min-height: 0; padding: 48px 0 56px; background-position: 58% center; }
  .region-slider { gap: 32px; }
  .region-slider > .block:first-child .field--name-body { font-size: 16px; }
  .region-slider > .block:not(:first-child) { padding: 22px 18px; }
  .numbers-section { padding: 24px 0; }
  .region-numbers, .region-numbers .field--name-body { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .about-section, .catalog-section, .benefits-section, .process-section, .gallery-section, .request-section { padding-block: 56px; }
  .front-section .block > h2, .front-section .view-header h2, .front-section .block__title { margin-bottom: 32px; }
  .catalog-section .view-content, .catalog-section .views-view-grid, .view-tovary .view-content, .view-products .view-content { grid-template-columns: 1fr; }
  .region-count { align-items: stretch; flex-direction: column; text-align: center; }
  .region-count h2 { text-align: center !important; }
  .region-benefits, .region-process { grid-template-columns: 1fr; }
  .gallery-section .view-content, .gallery-section .field--type-image .field__items, .gallery-section .photoswipe-gallery .elements { grid-template-columns: 1fr; }
  .gallery-section img { height: auto; aspect-ratio: 16 / 10; }
  .region-webform { gap: 32px; }
  .region-webform > .block:not(:first-child), .region-webform > .block:only-child { padding: 25px 18px; }
  .map-section, .map-section iframe { min-height: 330px; height: 330px !important; }
  .rental-product__info { padding: 22px 18px; }
  .rental-product__details { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom__inner { flex-direction: column; justify-content: center; padding-block: 18px; text-align: center; }
  #scrollToTop { right: 18px; bottom: 18px; }
}

@media (max-width: 420px) {
  .header-phone { font-size: 14px; }
  .site-logo img { width: 158px; }
  .region-slider > .block:first-child > h2 { font-size: 29px; }
  .region-slider > .block:first-child .field--name-body a { width: 100%; margin-right: 0; justify-content: center; }
  .rental-card__actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Structured editable fields used by the Kazakov front page. */
.region-slider > #block-kazakov-banner { display: block; max-width: 720px; color: var(--white); }
.region-slider > #block-kazakov-banner .field--name-field-image { display: none; }
.region-slider > #block-kazakov-banner .field--name-field-eyebrow,
.region-about .field--name-field-eyebrow { margin-bottom: 12px; color: var(--yellow); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.region-slider > #block-kazakov-banner .field--name-field-title h1 { margin: 0 0 20px; color: var(--white); font-size: clamp(36px, 4.2vw, 54px); font-weight: 900; line-height: 1.06; }
.region-slider > #block-kazakov-banner .field--name-field-text { max-width: 680px; color: #d4d9dc; font-size: 18px; line-height: 1.6; }
.region-slider > #block-kazakov-banner .field--name-field-features { display: grid; gap: 10px; margin: 25px 0 30px; color: var(--white); font-weight: 600; }
.region-slider > #block-kazakov-banner .field--name-field-features .field__item { position: relative; padding-left: 30px; }
.region-slider > #block-kazakov-banner .field--name-field-features .field__item::before { position: absolute; left: 2px; color: var(--yellow); content: "✓"; font-size: 20px; font-weight: 900; }
.region-slider > #block-kazakov-banner .field--name-field-link,
.region-slider > #block-kazakov-banner .field--name-field-link-secondary { display: inline-block; margin: 0 10px 8px 0; }
.region-slider > #block-kazakov-banner .field--name-field-link a,
.region-slider > #block-kazakov-banner .field--name-field-link-secondary a { display: inline-flex; min-height: 48px; align-items: center; padding: 12px 25px; border: 2px solid var(--yellow); border-radius: 4px; background: var(--yellow); color: var(--ink); font-weight: 800; text-transform: uppercase; }
.region-slider > #block-kazakov-banner .field--name-field-link-secondary a { background: transparent; color: var(--yellow); }

.region-numbers > .block { display: block; }
.region-numbers .field--name-field-title { display: none; }
.region-numbers .field--name-field-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.region-numbers .field--name-field-items > .field__item { padding: 2px 25px; border-right: 1px solid rgba(255,255,255,.2); text-align: center; }
.region-numbers .field--name-field-items > .field__item:last-child { border-right: 0; }
.region-numbers .field--name-field-value { margin-bottom: 7px; color: var(--yellow); font-size: clamp(30px, 3vw, 40px); font-weight: 900; line-height: 1; }
.region-numbers .field--name-field-label { color: var(--white); font-size: 14px; font-weight: 600; }

.region-about { display: block; }
.region-about > #block-kazakov-about { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "eyebrow image" "title image" "text image" "link image"; column-gap: 56px; align-items: center; }
.region-about .field--name-field-eyebrow { grid-area: eyebrow; align-self: end; }
.region-about .field--name-field-title { grid-area: title; }
.region-about .field--name-field-title h2 { margin: 0 0 22px; color: var(--white); font-size: clamp(30px, 3vw, 39px); line-height: 1.15; }
.region-about .field--name-field-text { grid-area: text; align-self: start; color: #aab2b8; font-size: 16px; line-height: 1.7; }
.region-about .field--name-field-image { grid-area: image; }
.region-about .field--name-field-link { grid-area: link; align-self: start; margin-top: 26px; }
.region-about .field--name-field-link a { display: inline-flex; padding: 12px 24px; border: 2px solid var(--yellow); border-radius: 4px; color: var(--yellow); font-weight: 800; }

.catalog-section .block > h2 { color: var(--ink); }
.catalog-section .block > h2::before { display: block; margin-bottom: 8px; color: var(--teal); content: "Каталог оборудования"; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.catalog-section .taxonomy-term { position: relative; display: flex; height: 100%; flex-direction: column; }
.catalog-section .taxonomy-term > .content { display: contents; }
.catalog-section .taxonomy-term > h2 { order: 2; min-height: 52px; margin: 19px 22px 8px; color: var(--ink); font-size: 20px; line-height: 1.3; text-transform: none; }
.catalog-section .taxonomy-term > h2::after { display: none; }
.catalog-section .taxonomy-term > h2 a { color: var(--ink); }
.catalog-section .field--name-field-catalog-image { order: 1; }
.catalog-section .field--name-field-catalog-summary { order: 3; min-height: 92px; padding: 0 22px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.catalog-section .field--name-field-catalog-price-from { position: absolute; z-index: 2; top: 16px; left: 16px; margin: 0; padding: 8px 12px !important; border-radius: 3px; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 900; text-transform: uppercase; box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.catalog-section .field--name-field-catalog-price-from::before { content: "От "; }
.catalog-section .field--name-field-catalog-price-from::after { content: " руб/сут"; }
.catalog-section .field--name-field-machine-key { display: none !important; }
.catalog-section .catalog-card-more { order: 4; display: inline-flex; align-self: flex-start; margin: auto 22px 22px; padding: 9px 18px; border: 2px solid var(--ink); border-radius: 3px; color: var(--ink); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.catalog-section .catalog-card-more:hover { background: var(--ink); color: var(--yellow); }
.catalog-more-bar { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 22px 28px; border: 1px solid #dedfdf; border-radius: 5px; background: var(--white); }
.catalog-more-bar p { margin: 0; color: var(--text); }

.region-benefits, .region-process { display: block; }
.region-benefits > .block > h2, .region-process > .block > h2 { margin-bottom: 42px; }
.region-benefits .view-content, .region-process .view-content { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.region-benefits .views-row { padding: 28px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-soft); text-align: center; }
.region-benefits .field--name-field-icon { display: none; }
.region-benefits .field--name-field-image img { width: 64px; height: 64px; margin: 0 auto 18px; padding: 12px; border-radius: 50%; background: rgba(242,201,76,.1); object-fit: cover; }
.region-benefits .field--name-field-title h3 { margin: 0 0 11px; color: var(--white); font-size: 18px; line-height: 1.35; }
.region-benefits .field--name-field-text { color: var(--muted); font-size: 14px; line-height: 1.55; }
.region-benefits .field--name-field-sort-weight, .region-process .field--name-field-sort-weight, .region-process .field--name-field-step { display: none; }
.region-process .view-content { counter-reset: rental-step; }
.region-process .views-row { position: relative; padding: 70px 22px 26px; border-top: 4px solid var(--teal); border-radius: var(--radius); background: var(--white); box-shadow: 0 5px 16px rgba(0,0,0,.06); counter-increment: rental-step; }
.region-process .views-row::before { position: absolute; top: 21px; left: 22px; color: var(--yellow); content: "0" counter(rental-step); font-size: 31px; font-weight: 900; }
.region-process .field--name-field-title h3 { margin: 0 0 9px; color: var(--ink); font-size: 18px; }
.region-process .field--name-field-text { color: var(--muted); font-size: 14px; line-height: 1.55; }

.gallery-section .field--name-field-title h2 { margin: 0 0 42px; color: var(--white); font-size: clamp(28px,3vw,36px); text-align: center; text-transform: uppercase; }
.gallery-section .field--name-field-gallery.field__items { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.gallery-section .field--name-field-gallery.field__items > .field__item { min-height: 0; overflow: hidden; border: 1px solid #293036; border-radius: 4px; }
.gallery-section .field--name-field-gallery .field--name-field-media-image,
.gallery-section .field--name-field-gallery .field--name-field-media-image .field__item { height: 100%; min-height: 0; border: 0; background: transparent; }
.gallery-section .field--name-field-gallery img { display: block; width: 100%; height: 225px; object-fit: cover; }
.gallery-section .field--name-field-link { margin-top: 30px; text-align: center; }
.gallery-section .field--name-field-link a { display: inline-flex; padding: 12px 26px; border-radius: 4px; background: var(--yellow); color: var(--ink); font-weight: 800; }

@media (max-width: 991px) {
  .region-about > #block-kazakov-about { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "text" "link" "image"; row-gap: 0; }
  .region-about .field--name-field-image { margin-top: 35px; }
  .region-benefits .view-content, .region-process .view-content { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .region-numbers .field--name-field-items { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 24px; }
  .region-numbers .field--name-field-items > .field__item:nth-child(2) { border-right: 0; }
  .catalog-more-bar { flex-direction: column; text-align: center; }
  .region-benefits .view-content, .region-process .view-content, .gallery-section .field--name-field-gallery.field__items { grid-template-columns: 1fr; }
  .region-slider > #block-kazakov-banner .field--name-field-title h1 { font-size: 34px; }
}

/* Reference alignment refinements. */
html, body, button, input, select, textarea { font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important; }

.header-detail { display: inline-flex; align-items: center; gap: 6px; padding-left: 0; color: #7b8288; }
.header-detail::before { display: none; }
.header-detail svg { flex: 0 0 auto; color: #7b8288; }
.header-utility__actions .button--outline { padding: 4px 0; border: 0; background: transparent; color: var(--yellow); box-shadow: none; }
.header-utility__actions .button--outline:hover { background: transparent; color: var(--white); }
.social-links--compact a { width: 18px; height: 18px; }
.site-logo img { width: 250px; max-height: 104px; }
.main-navigation .nav-link { padding-inline: 24px; }
.main-navigation .dropdown-toggle::after { width: 8px; height: 5px; margin-left: 8px; border: 0 !important; background: currentColor; content: ""; clip-path: polygon(0 0, 100% 0, 50% 100%); vertical-align: .15em; }

.region-slider > #block-kazakov-banner .field--name-field-eyebrow { display: inline-block; margin-bottom: 16px; padding: 6px 14px; border: 1px solid var(--yellow); border-radius: 4px; background: rgba(242,201,76,.15); color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.region-slider > #block-kazakov-banner .field--name-field-title h1 { font-size: 44px; letter-spacing: -.5px; text-transform: uppercase; }
.region-slider > #block-kazakov-banner .field--name-field-text { max-width: 620px; }
.region-slider > #block-kazakov-hero-form > h2::after { display: block; width: auto; height: auto; margin: 8px 0 20px; background: transparent; color: #7b8288; content: "Оставьте заявку, и мы бесплатно рассчитаем стоимость аренды и подберем инструмент под вашу задачу."; font-size: 13px; font-weight: 400; line-height: 1.5; text-transform: none; }
.region-slider #block-kazakov-hero-form .form-item { margin: 0 0 13px; }
.region-slider #block-kazakov-hero-form .form-item > label:not(.option) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.region-slider #block-kazakov-hero-form input:not([type="checkbox"]),
.region-slider #block-kazakov-hero-form select { min-height: 45px; padding: 12px 14px; color: #252a2e; }
.region-slider #block-kazakov-hero-form .form-actions { margin: 0 0 12px; }
.region-slider #block-kazakov-hero-form .form-actions input,
.region-slider #block-kazakov-hero-form .form-actions button { width: 100%; }
.region-slider #block-kazakov-hero-form .form-type-checkbox { display: flex; align-items: center; gap: 8px; margin: 0; }
.region-slider #block-kazakov-hero-form .form-type-checkbox input { flex: 0 0 auto; margin: 0; }
.region-slider #block-kazakov-hero-form .form-type-checkbox label { margin: 0; color: #7b8288; font-size: 11px; line-height: 1.3; white-space: nowrap; }

.region-about .field--name-field-eyebrow { display: inline-block; justify-self: start; align-self: end; padding: 6px 14px; border: 1px solid var(--yellow); border-radius: 4px; background: rgba(242,201,76,.15); color: var(--yellow); letter-spacing: 0; }
.region-about .field--name-field-title h2 { font-size: 36px; font-weight: 900; text-transform: uppercase; }
.region-about .field--name-field-link a { gap: 9px; padding: 4px 0; border: 0; border-radius: 0; color: var(--yellow); text-transform: uppercase; }
.region-about .field--name-field-link a::after { content: "→"; font-size: 20px; line-height: 1; }
.dropdown-item:focus {background-color: initial;}
.region-benefits > .block > h2::before,
.region-process > .block > h2::before { display: block; margin-bottom: 8px; color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.region-benefits > .block > h2::before { content: "Преимущества работы с нами"; }
.region-process > .block > h2::before { color: var(--teal); content: "Простой процесс"; }
.region-benefits .field--name-field-image { display: none; }
.region-benefits .field--name-field-icon { display: flex; align-items:center; justify-content: center; width: 64px; height: 64px; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: rgba(242,201,76,.1); color: transparent; font-size: 0; }
.region-benefits .field--name-field-icon::before { width: 32px; height: 32px; background-color: var(--yellow); content: ""; mask: var(--benefit-icon) center/contain no-repeat; -webkit-mask: var(--benefit-icon) center/contain no-repeat; }
.region-benefits .views-row:nth-child(1) { --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M12 2 2 7l10 5 10-5-10-5ZM2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E"); }
.region-benefits .views-row:nth-child(2) { --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.region-benefits .views-row:nth-child(3) { --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M1 3h15v13H1zM16 8h4l3 3v5h-7z'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/g%3E%3C/svg%3E"); }
.region-benefits .views-row:nth-child(4) { --benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zM14 2v6h6M8 13h8M8 17h8'/%3E%3C/g%3E%3C/svg%3E"); }
.rental-product__media .slick-prev::before {
    top: 23px !important;
}

.rental-product__media .slick-next::before {
    top: 19px !important;
}
.gallery-section { background: var(--ink); }
.gallery-section .field--name-field-eyebrow { margin-bottom: 8px; color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.gallery-section .field--name-field-title h2 { margin-bottom: 10px; }
.gallery-section .field--name-field-title h2::after { display: none; }
.gallery-section .field--name-field-text { max-width: 720px; margin: 0 auto 34px; color: #aab2b8; font-size: 15px; line-height: 1.6; text-align: center; }
.gallery-section .field--name-field-gallery,
.gallery-section .field--name-field-gallery .field__item,
.gallery-section .field--name-field-gallery article,
.gallery-section .field--name-field-media-image { border: 0 !important; border-radius: 0; background: transparent; }

.region-webform > #block-kazakov-questions-intro { max-width: 650px; }
.region-webform > #block-kazakov-questions-intro .field--name-field-eyebrow { margin-bottom: 12px; color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.region-webform > #block-kazakov-questions-intro .field--name-field-title h2 { margin: 0 0 18px; color: var(--white); font-size: 36px; line-height: 1.18; text-transform: uppercase; }
.region-webform > #block-kazakov-questions-intro .field--name-field-title h2::after { display: none; }
.region-webform > #block-kazakov-questions-intro .field--name-field-text { color: #d0d4d9; font-size: 16px; line-height: 1.65; }
.region-webform > #block-kazakov-questions-intro .field--name-field-features { display: grid; gap: 9px; margin-top: 24px; color: var(--white); font-size: 14px; }
.region-webform > #block-kazakov-questions-intro .field--name-field-features .field__item::before { margin-right: 9px; color: var(--yellow); content: "✓"; font-weight: 900; }
.region-webform > #block-kazakov-questions { padding: 28px; border-top: 0; border-radius: 6px; box-shadow: 0 16px 38px rgba(0,0,0,.35); }
.region-webform > #block-kazakov-questions > h2 { margin-bottom: 18px; color: var(--ink); font-size: 21px; text-align: left; }
.region-webform > #block-kazakov-questions .form-item { margin-bottom: 13px; }
.region-webform > #block-kazakov-questions input:not([type="checkbox"]),
.region-webform > #block-kazakov-questions textarea { width: 100%; padding: 11px 13px; border: 1px solid #c9ced2; border-radius: 4px; }
.region-webform > #block-kazakov-questions textarea { min-height: 82px; }
.region-webform > #block-kazakov-questions .form-actions { margin-bottom: 10px; }
.region-webform > #block-kazakov-questions .form-actions input,
.region-webform > #block-kazakov-questions .form-actions button { width: 100%; }
.region-webform > #block-kazakov-questions .form-type-checkbox { display: grid; grid-template-columns: 18px 1fr; column-gap: 8px; align-items: start; }
.region-webform > #block-kazakov-questions .form-type-checkbox input { margin: 3px 0 0; }
.region-webform > #block-kazakov-questions .form-type-checkbox label,
.region-webform > #block-kazakov-questions .form-type-checkbox .description { color: #7b8288; font-size: 11px; line-height: 1.4; }

.footer-socials a { width: 24px; height: 24px; }

@media (max-width: 767px) {
  .site-logo img { width: 205px; }
  .region-slider > #block-kazakov-banner .field--name-field-title h1 { font-size: 34px; }
  .region-slider #block-kazakov-hero-form .form-type-checkbox label { white-space: normal; }
  .region-about .field--name-field-title h2,
  .region-webform > #block-kazakov-questions-intro .field--name-field-title h2 { font-size: 30px; }
}

/* Point corrections from the supplied reference. */
.site-logo img { width: 300px; max-height: 110px; }
.header-brand__inner { min-height: 122px; }
.header-utility__actions .button--outline {
  padding: 7px 14px;
  border: 1px solid var(--yellow);
  border-radius: 3px;
  color: var(--yellow);
  min-height: initial;
}
.header-utility__actions .button--outline:hover { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }

.region-slider > #block-kazakov-banner .field--name-field-link a,
.region-slider > #block-kazakov-banner .field--name-field-link-secondary a { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease; }
.region-slider > #block-kazakov-banner .field--name-field-link a:hover { border-color: #e3aa25; background: #e3aa25; color: var(--ink); transform: translateY(-2px); }
.region-slider > #block-kazakov-banner .field--name-field-link-secondary a:hover { border-color: var(--yellow); background: var(--yellow); color: var(--ink); transform: translateY(-2px); }

.region-about .field--name-field-eyebrow {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9999px;
  background: rgba(255,255,255,.06);
  color: #e2e8f0;
  font-weight: 600;
  letter-spacing: .08em;
}
.region-about .field--name-field-link a {
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f5f6f7;
  color: #111417;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.region-about .field--name-field-link a:hover { background: #fff; color: #111417; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,.15); }

.section-heading { margin-bottom: 50px; text-align: center; }
#block-kazakov-catalog-heading,
#block-kazakov-benefits-heading,
#block-kazakov-process-heading { margin-bottom: 50px; text-align: center; }
#block-kazakov-catalog-heading .field--name-field-eyebrow,
#block-kazakov-benefits-heading .field--name-field-eyebrow,
#block-kazakov-process-heading .field--name-field-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
#block-kazakov-catalog-heading .field--name-field-eyebrow,
#block-kazakov-process-heading .field--name-field-eyebrow { color: var(--teal); }
#block-kazakov-benefits-heading .field--name-field-eyebrow { color: var(--yellow); }
#block-kazakov-catalog-heading .field--name-field-title h2,
#block-kazakov-benefits-heading .field--name-field-title h2,
#block-kazakov-process-heading .field--name-field-title h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}
#block-kazakov-catalog-heading .field--name-field-title h2,
#block-kazakov-process-heading .field--name-field-title h2 { color: var(--ink); }
#block-kazakov-benefits-heading .field--name-field-title h2 { color: var(--white); }
#block-kazakov-catalog-heading .field--name-field-title h2::after,
#block-kazakov-benefits-heading .field--name-field-title h2::after,
#block-kazakov-process-heading .field--name-field-title h2::after {
  display: block;
  width: 60px;
  height: 4px;
  margin: 14px auto 0;
  background: var(--yellow);
  content: "";
}
.catalog-section .block > h2::before,
.region-benefits > .block > h2::before,
.region-process > .block > h2::before { display: none; content: none; }

.catalog-section .catalog-card-more {
  width: calc(100% - 44px);
  align-self: stretch;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
}
.catalog-more-bar { border: 1px dashed #444b51; }
.region-benefits .views-row { transition: border-color .3s ease; }
.region-benefits .views-row:hover { border-color: var(--yellow); transform: none; box-shadow: none; }

.gallery-section .field--name-field-eyebrow { order: initial; }
.gallery-section .field--name-field-title h2 { margin: 0 0 10px; font-size: 32px; }
.gallery-section .field--name-field-gallery.field__items > .field__item { position: relative; }
.gallery-section .field--name-field-gallery img { transition: transform .4s ease, filter .4s ease; }
.gallery-section .field--name-field-gallery > .field__item:hover img,
.gallery-section .field--name-field-gallery > .field__item:focus-within img { transform: scale(1.055); filter: brightness(.65); }
.gallery-zoom-badge {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9999px;
  background: rgba(17,20,23,.88);
  color: #f5f6f7;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 6px));
  transition: opacity .25s ease, transform .25s ease;
}
.gallery-section .field--name-field-gallery > .field__item:hover .gallery-zoom-badge,
.gallery-section .field--name-field-gallery > .field__item:focus-within .gallery-zoom-badge { opacity: 1; transform: translate(-50%, -50%); }

.region-webform > #block-kazakov-questions > h2 { text-align: center; }
.footer-logo img { width: 300px; max-height: 100px; }

@media (max-width: 991px) {
  .site-logo img { width: 235px; }
}
@media (max-width: 767px) {
  .site-logo img { width: 205px; }
  .footer-logo img { width: 260px; }
  #block-kazakov-catalog-heading .field--name-field-title h2,
  #block-kazakov-benefits-heading .field--name-field-title h2,
  #block-kazakov-process-heading .field--name-field-title h2 { font-size: 28px; }
}

/* Scoped fixes for Views wrappers introduced by editable section headings. */
.region-benefits > #block-kazakov-benefits,
.region-process > #block-kazakov-process {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.region-benefits > #block-kazakov-benefits:hover,
.region-process > #block-kazakov-process:hover { border-color: transparent; box-shadow: none; transform: none; }
.region-process > #block-kazakov-process { position: static; counter-increment: none; }
.region-process > #block-kazakov-process::before { display: none; content: none; }
.region-benefits > #block-kazakov-benefits-heading:hover,
.region-process > #block-kazakov-process-heading:hover { border-color: transparent; transform: none; }

.gallery-section .field--name-field-gallery.field__items > .field__item { border-radius: 6px; }
.gallery-section .field--name-field-link a { align-items: center; gap: 9px; transition: background-color .2s ease, transform .2s ease; }
.gallery-section .field--name-field-link a::after { content: "→"; font-size: 19px; line-height: 1; transition: transform .2s ease; }
.gallery-section .field--name-field-link a:hover { background: #e3aa25; color: var(--ink); transform: translateY(-2px); }
.gallery-section .field--name-field-link a:hover::after { transform: translateX(4px); }

/* Product teaser: exactly one editor-selected preview image. */
.rental-card__media { display: block; overflow: hidden; }
.rental-card__media .field--name-field-image-product-view > .field__item:not(:first-child),
.rental-card__media .field--name-field-image-product-view .field__items > .field__item:not(:first-child) { display: none; }
.rental-card__media a { display: block; }
.rental-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

/* Full product gallery restored from the existing five-image variation field. */
.rental-product__media { padding: 18px; }
.rental-product__media .current-slide { margin-bottom: 14px; }
.rental-product__media .current-slide img { width: 100%; height: min(520px, 46vw); max-height: 520px; object-fit: contain; }
.rental-product__media .nav-slide { margin: 0 -5px; }
.rental-product__media .nav-slide .element { margin: 0 5px; border: 2px solid transparent; border-radius: 5px; overflow: hidden; cursor: pointer; transition: border-color .2s ease, opacity .2s ease; opacity: .72; }
.rental-product__media .nav-slide .element:hover,
.rental-product__media .nav-slide .slick-current { border-color: var(--yellow); opacity: 1; }
.rental-product__media .nav-slide img { width: 100%; height: 84px; object-fit: cover; }
.rental-product__media .slick-arrow { position: absolute; z-index: 4; top: 50%; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(17,20,23,.82); color: transparent; cursor: pointer; transform: translateY(-50%); }
.rental-product__media .current-slide .slick-prev { left: 14px; }
.rental-product__media .current-slide .slick-next { right: 14px; }
.rental-product__media .slick-arrow::before { position: absolute; top: 50%; left: 50%; color: var(--white); content: "›"; font-size: 30px; line-height: 1; transform: translate(-45%,-54%); }
.rental-product__media .slick-prev::before { transform: translate(-55%,-54%) rotate(180deg); }
.rental-product__media .nav-slide .slick-arrow { display: none !important; }

.rental-product__tabs { margin-top: 42px; border: 1px solid var(--light-line); border-radius: 7px; background: var(--white); overflow: hidden; }
.rental-product__tab-list { display: flex; gap: 0; border-bottom: 1px solid var(--light-line); background: #eef0f0; }
.rental-product__tab-list button { position: relative; padding: 16px 28px; border: 0; border-right: 1px solid var(--light-line); background: transparent; color: var(--muted); font-size: 15px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.rental-product__tab-list button::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: transparent; content: ""; }
.rental-product__tab-list button:hover { color: var(--ink); background: rgba(242,201,76,.12); }
.rental-product__tab-list button[aria-selected="true"] { background: var(--white); color: var(--ink); }
.rental-product__tab-list button[aria-selected="true"]::after { background: var(--yellow); }
.rental-product__tab-panel { padding: 28px; color: #4c5358; line-height: 1.7; }
.rental-product__tab-panel[hidden] { display: none; }
.rental-product__tab-panel .field__label { display: none; }
.rental-product__tab-panel p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
  .rental-product__media { padding: 10px; }
  .rental-product__media .current-slide img { height: 86vw; }
  .rental-product__media .nav-slide img { height: 66px; }
  .rental-product__tab-list button { flex: 1 1 50%; padding: 14px 10px; font-size: 13px; }
  .rental-product__tab-panel { padding: 20px 16px; }
}
