:root {
  --bg: #f4efe6;
  --bg-soft: #fffaf1;
  --panel: rgba(255, 250, 241, 0.86);
  --text: #211915;
  --muted: #74675c;
  --gold: #b9852d;
  --gold-dark: #84591f;
  --button-text: #17110d;
  --primary-button-bg: #d8a23a;
  --secondary-button-bg: #fffaf1;
  --green: #285f4d;
  --line: rgba(33, 25, 21, 0.14);
  --shadow: 0 24px 80px rgba(73, 49, 26, 0.14);
  --header-height: 112px;
  --footer-height: 128px;
  --column-edge: clamp(4px, 1.2vw, 26px);
  --column-cap-width: clamp(172px, 11vw, 230px);
  --column-cap-inner-extension: 0px;
  --column-cap-visual-width: calc(var(--column-cap-width) + var(--column-cap-inner-extension));
  --column-width-anchor: clamp(116px, 7.25vw, 152px);
  --column-width: clamp(118px, 7.38vw, 156px);
  --column-base-width: clamp(136px, 8.65vw, 184px);
  --column-center: calc(var(--column-edge) + (var(--column-cap-width) / 2));
  --column-shaft-nudge: 5px;
  --column-cap-nudge: var(--column-shaft-nudge);
  --column-base-nudge: calc(var(--column-shaft-nudge) + 2px);
  --column-top-overlap: 28px;
  --column-footer-overlap: clamp(45px, calc(124px - 3.75vw), 66px);
  --column-shaft-bottom-fade: clamp(18px, 1.4vw, 26px);
  --column-opacity: .3;
  --column-cap-opacity: .42;
  --column-base-opacity: .32;
  --column-filter: grayscale(.05) sepia(.04) contrast(1.02) drop-shadow(0 18px 32px rgba(73, 49, 26, .16));
  --hero-media-side: calc(var(--column-center) + (var(--column-width-anchor) / 2) + 10px);
}

[data-theme="dark"] {
  --bg: #11100f;
  --bg-soft: #1b1714;
  --panel: rgba(29, 24, 20, 0.88);
  --text: #f5ecdf;
  --muted: #b9ac9d;
  --gold: #d8ad63;
  --gold-dark: #f0c778;
  --button-text: #17110d;
  --primary-button-bg: #d8ad63;
  --secondary-button-bg: #1b1714;
  --green: #79a893;
  --line: rgba(245, 236, 223, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --column-opacity: .16;
  --column-cap-opacity: .22;
  --column-base-opacity: .2;
  --column-filter: grayscale(1) brightness(.5) contrast(1.16) drop-shadow(0 18px 34px rgba(0, 0, 0, .42));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

section[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

body {
  position: relative;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(185, 133, 45, .14), transparent 13%, transparent 87%, rgba(185, 133, 45, .14)),
    radial-gradient(circle at 14% 12%, rgba(185, 133, 45, .10), transparent 18%),
    radial-gradient(circle at 86% 12%, rgba(185, 133, 45, .10), transparent 18%),
    var(--bg);
  font-family: Inter, Arial, sans-serif;
}

html.modal-open,
body.menu-open,
body.modal-open,
body.cart-open {
  overflow: hidden;
}

a, button { color: inherit; font: inherit; }
button { cursor: pointer; }
img, video { display: block; width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg-soft) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 0;
  width: var(--column-cap-visual-width);
  height: var(--header-height);
  pointer-events: none;
  opacity: var(--column-cap-opacity);
  filter: var(--column-filter);
  background: url("../img/column-real-cap.png") center bottom / 100% auto no-repeat;
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.site-header::before {
  left: calc(var(--column-edge) + var(--column-cap-nudge));
}

.site-header::after {
  right: calc(var(--column-edge) + var(--column-cap-nudge));
  transform: scaleX(-1);
}

main,
.footer {
  position: relative;
  z-index: 3;
}

.footer {
  z-index: 9;
}

.site-column-shafts {
  position: absolute;
  inset: calc(var(--header-height) - var(--column-top-overlap)) 0 calc(var(--footer-height) - var(--column-footer-overlap));
  z-index: 7;
  pointer-events: none;
}

.column-shaft {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--column-width);
  opacity: var(--column-opacity);
  filter: var(--column-filter);
  background: url("../img/column-real-shaft.png") center center / 100% 100% no-repeat;
  mask-image:
    linear-gradient(180deg, #000 0, #000 calc(100% - var(--column-shaft-bottom-fade)), transparent 100%),
    linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-composite: intersect;
}

.column-shaft-left {
  left: calc(var(--column-center) - (var(--column-width-anchor) / 2) + var(--column-shaft-nudge));
}

.column-shaft-right {
  right: calc(var(--column-center) - (var(--column-width-anchor) / 2) + var(--column-shaft-nudge));
  transform: scaleX(-1);
}

.header-inner {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 48px));
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-nav-left { justify-content: flex-end; }
.header-nav-right { justify-content: flex-start; }
.header-nav a { text-decoration: none; }

.header-logo {
  width: 182px;
}

.header-logo img {
  max-height: 68px;
  object-fit: contain;
}

.pill-link, .cart-button, .button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  color: var(--block-light-primary-button-text, var(--button-text));
  background: var(--block-light-primary-button, var(--primary-button-bg));
  border-color: var(--block-light-primary-button, var(--primary-button-bg));
  box-shadow: 0 12px 26px rgba(185, 133, 45, .24);
}

.button.secondary, .pill-link, .cart-button {
  color: var(--block-light-secondary-button-text, var(--text));
  background: var(--block-light-secondary-button, var(--secondary-button-bg));
  border-color: var(--block-light-secondary-button, var(--secondary-button-bg));
}

.cart-button {
  min-width: 82px;
  min-height: 46px;
  gap: 10px;
  padding: 0 11px 0 15px;
  border-color: color-mix(in srgb, var(--gold) 58%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--secondary-button-bg) 94%, #fff), var(--secondary-button-bg));
  box-shadow: 0 12px 30px rgba(73, 49, 26, .12);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cart-button:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 18px 42px rgba(73, 49, 26, .18);
}

.cart-button svg,
.mobile-menu-cart svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.cart-button [data-cart-count],
.mobile-menu-cart [data-cart-count] {
  min-width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--button-text);
  background: var(--primary-button-bg);
  font-size: 12px;
  line-height: 1;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .14);
}

[data-theme="dark"] .button.primary {
  color: var(--block-dark-primary-button-text, var(--button-text));
  background: var(--block-dark-primary-button, var(--primary-button-bg));
  border-color: var(--block-dark-primary-button, var(--primary-button-bg));
}

[data-theme="dark"] .button.secondary,
[data-theme="dark"] .pill-link,
[data-theme="dark"] .cart-button {
  color: var(--block-dark-secondary-button-text, var(--text));
  background: var(--block-dark-secondary-button, var(--secondary-button-bg));
  border-color: var(--block-dark-secondary-button, var(--secondary-button-bg));
}

.burger, .close-button {
  display: none;
  border: 0;
  background: transparent;
}

.burger {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.burger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero-full {
  position: relative;
  min-height: clamp(660px, calc(100vh - 88px), 900px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
}

[data-theme="dark"] .hero-full {
  background: transparent;
}

.hero-video-bg,
.hero-video-bg video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-has-media .hero-video-bg,
.hero-has-media .hero-overlay {
  left: var(--hero-media-side);
  right: var(--hero-media-side);
}

.hero-has-media .hero-video-bg {
  overflow: hidden;
  background: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 241, .08),
    inset 0 0 90px rgba(0, 0, 0, .72);
}

[data-theme="dark"] .hero-has-media .hero-video-bg {
  background: var(--bg);
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(.82) brightness(.78);
  transform: scale(1.018);
}

.hero-video-bg img {
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(.82) brightness(.78);
  transform: scale(1.018);
}

.hero-empty-bg {
  background:
    radial-gradient(circle at 50% 42%, rgba(185, 133, 45, .18), transparent 30%),
    radial-gradient(circle at 18% 18%, rgba(40, 95, 77, .12), transparent 24%),
    linear-gradient(135deg, rgba(255, 250, 241, .96), rgba(228, 217, 199, .78));
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.5)),
    radial-gradient(circle at center, rgba(0,0,0,.04), rgba(0,0,0,.64) 78%);
  pointer-events: none;
}

.hero-no-media .hero-overlay {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .32), transparent 36%),
    linear-gradient(180deg, rgba(255, 250, 241, .12), rgba(244, 239, 230, .68));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100% - 32px));
  text-align: center;
}

.hero-kicker {
  color: var(--gold);
}

.hero-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 7.5vw, 122px);
  line-height: 1.03;
  letter-spacing: .02em;
}

.hero-title :is(h1, h2, h3, p, div),
.hero-kicker :is(h1, h2, h3, p, div),
.hero-lead :is(h1, h2, h3, p, div) {
  margin: 0;
  color: inherit;
}

.hero-title :is(h1, h2, h3, p, div) {
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.hero-kicker :is(h1, h2, h3, p, div, span) {
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.hero-lead {
  max-width: 760px;
  margin: 24px auto 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-has-media .hero-content :is(.hero-title, .hero-kicker, .hero-lead) {
  color: #fffaf1;
}

.hero-no-media .hero-content :is(.hero-title, .hero-kicker) {
  color: var(--text);
}

.hero-no-media .hero-content .hero-lead {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.section {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.themed-block {
  --block-bg-current: var(--block-light-bg, transparent);
  --block-title-current: var(--block-light-title, var(--text));
  --block-text-current: var(--block-light-text, var(--muted));
  --block-accent-current: var(--block-light-accent, var(--gold-dark));
  background: var(--block-bg-current);
  border-radius: 34px;
}

[data-theme="dark"] .themed-block {
  --block-bg-current: var(--block-dark-bg, transparent);
  --block-title-current: var(--block-dark-title, var(--text));
  --block-text-current: var(--block-dark-text, var(--muted));
  --block-accent-current: var(--block-dark-accent, var(--gold));
}

.themed-block .section-head h1,
.themed-block .section-head h2 {
  color: var(--block-title-current);
}

.themed-block .section-head .kicker {
  color: var(--block-accent-current);
}

.themed-block .section-text,
.themed-block .section-text p {
  color: var(--block-text-current);
}

.mobile-copy {
  display: none;
}

.kicker {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
}

h1 {
  font-size: clamp(62px, 7.5vw, 122px);
  letter-spacing: .02em;
}

h2 { font-size: clamp(40px, 5vw, 76px); }
h3 { font-size: 28px; }

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.features-grid, .care-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.care-grid, .product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card, .care-grid article, .master-card, .product-card, .map-card, .works-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.feature-card, .works-grid article {
  padding: 24px;
}

.feature-card {
  position: relative;
  min-height: 310px;
  padding: 22px;
  isolation: isolate;
  transition: transform .24s ease, box-shadow .24s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 133, 45, .2), transparent 68%);
  z-index: -1;
  transition: transform .24s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 90px rgba(73, 49, 26, 0.2);
}

.feature-card:hover::after {
  transform: translate(-8px, -8px) scale(1.18);
}

.feature-card:nth-child(2),
.feature-card:nth-child(4) {
  transform: translateY(22px);
}

.feature-card:nth-child(2):hover,
.feature-card:nth-child(4):hover {
  transform: translateY(14px);
}

.feature-media {
  height: 150px;
  display: grid;
  place-items: center;
  margin: -22px -22px 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(185, 133, 45, .18), transparent 38%),
    linear-gradient(135deg, rgba(255, 250, 241, .86), rgba(226, 215, 198, .62));
}

.feature-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.feature-media span {
  color: color-mix(in srgb, var(--gold-dark) 44%, transparent);
  font-size: 54px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
}

.feature-card > span {
  color: var(--gold);
  font-weight: 950;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.12fr .88fr 1fr;
  gap: 18px;
}

.gallery-strip figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: var(--panel);
}

.gallery-strip img {
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-strip figure:hover img {
  transform: scale(1.04);
}

.gallery-strip figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 250, 241, .34);
  border-radius: 18px;
  color: #fffaf1;
  background: rgba(14, 11, 9, .62);
  backdrop-filter: blur(12px);
}

.gallery-strip figcaption span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.gallery-strip figcaption strong {
  color: inherit;
  font-size: 18px;
}

.care-grid article {
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.care-card-media {
  height: 210px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(185, 133, 45, .18), transparent 34%),
    linear-gradient(135deg, rgba(255, 250, 241, .94), rgba(226, 215, 198, .72));
}

.care-card-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.care-grid article:hover .care-card-media img {
  transform: scale(1.05);
}

.care-card-media span {
  color: var(--gold-dark);
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.care-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.care-card-copy p:not(.kicker) {
  margin-bottom: 24px;
}

.care-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.care-card-bottom span {
  color: var(--muted);
  font-weight: 800;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.tabs button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel);
}

.tabs button.active {
  color: var(--button-text);
  border-color: var(--gold);
  background: var(--gold);
}

.service-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-table article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 136px;
  column-gap: 24px;
  row-gap: 10px;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.service-table article:last-child {
  border-bottom: 0;
}

.service-table p {
  margin-bottom: 0;
}

.service-table article > span,
.service-table article > strong {
  justify-self: end;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.service-table article > span {
  width: 110px;
}

.service-table article > strong {
  width: 136px;
}

strong {
  color: var(--gold-dark);
  font-size: 22px;
}

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

.works-actions {
  display: flex;
  justify-content: flex-end;
  margin: -72px 0 28px;
}

.works-grid article:first-child:last-child {
  max-width: 980px;
}

.before-after {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 26px;
  background: var(--panel);
  isolation: isolate;
  --ba-width: 100%;
}

.before-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.before-layer {
  position: absolute;
  inset: 0;
  width: 52%;
  overflow: hidden;
  border-right: 3px solid var(--gold);
}

.before-layer img {
  width: var(--ba-width);
  height: 100%;
  min-width: 100%;
  max-width: none;
}

.before-after input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  pointer-events: auto;
  touch-action: none;
  z-index: 5;
}

.ba-label {
  position: absolute;
  top: 18px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--button-text);
  background: var(--gold);
  font-weight: 900;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.ba-label.before { left: 18px; }
.ba-label.after { right: 18px; }

.before-after.is-sliding .ba-label {
  opacity: 0;
  transform: translateY(-6px);
}

.portfolio-page {
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 18%, rgba(185, 133, 45, .16), transparent 28%),
    color-mix(in srgb, var(--panel) 82%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.portfolio-hero .section-head {
  margin-bottom: 0;
}

.portfolio-hero :is(.desktop-copy, .mobile-copy) > :is(p, h1, h2, h3) {
  display: contents;
  margin: 0;
}

.portfolio-hero p:not(.kicker) {
  max-width: 680px;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 470px;
}

.portfolio-filters button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel);
  font-weight: 900;
}

.portfolio-filters button.active {
  color: var(--button-text);
  border-color: var(--gold);
  background: var(--primary-button-bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.portfolio-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.portfolio-item[hidden] {
  display: none;
}

.portfolio-work {
  grid-column: span 2;
  padding: 24px;
}

.portfolio-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.portfolio-item-head span,
.portfolio-photo figcaption span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.portfolio-item em {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(185, 133, 45, .36);
  border-radius: 999px;
  color: var(--gold-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.portfolio-work p {
  margin-bottom: 22px;
}

.portfolio-photo {
  position: relative;
  min-height: 430px;
  margin: 0;
}

.portfolio-photo img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform .5s ease;
}

.portfolio-photo:hover img {
  transform: scale(1.04);
}

.portfolio-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 250, 241, .32);
  border-radius: 20px;
  color: #fffaf1;
  background: rgba(14, 11, 9, .62);
  backdrop-filter: blur(12px);
}

.portfolio-photo figcaption span {
  color: var(--gold);
}

.portfolio-photo figcaption strong {
  color: inherit;
  font-size: 20px;
}

.portfolio-photo figcaption em {
  justify-self: start;
  color: var(--button-text);
  background: var(--gold);
}

.gallery-strip figcaption,
.portfolio-photo figcaption {
  display: none !important;
}

.empty-state {
  max-width: 760px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.team-slider-shell {
  position: relative;
}

.team-slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  padding: 8px 2px 24px;
  cursor: grab;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
  user-select: none;
  will-change: scroll-position;
}

.team-slider::-webkit-scrollbar {
  display: none;
}

.team-slider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.loop-slider {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.loop-slider::-webkit-scrollbar {
  display: none;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: color-mix(in srgb, var(--bg-soft) 92%, transparent);
  box-shadow: 0 16px 40px rgba(73, 49, 26, 0.18);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  transition: opacity .18s ease, transform .18s ease;
}

.slider-arrow:hover {
  transform: translateY(-50%) scale(1.04);
}

.slider-arrow:disabled {
  opacity: .34;
  pointer-events: none;
}

.slider-arrow-prev {
  left: -27px;
}

.slider-arrow-next {
  right: -27px;
}

.master-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 260px;
  max-width: none;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}

.master-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 90px rgba(73, 49, 26, 0.2);
}

.master-card img, .product-card img, .master-photo-placeholder {
  height: 260px;
  width: 100%;
  object-fit: cover;
}

.master-photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  background:
    radial-gradient(circle at center, rgba(185, 133, 45, .16), transparent 34%),
    linear-gradient(135deg, rgba(255, 250, 241, .94), rgba(230, 219, 201, .76));
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.master-card-body, .product-card-copy {
  padding: 24px;
}

.product-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-card-copy p {
  margin-bottom: 22px;
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: auto;
  padding-top: 20px;
}

.product-card-bottom strong {
  flex: 0 0 auto;
  white-space: nowrap;
}

.product-card-bottom .button {
  flex: 0 0 auto;
  min-width: 136px;
  margin-left: auto;
}

.product-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.delivery-address {
  display: grid;
  gap: 12px;
}

.delivery-address[hidden] {
  display: none;
}

.delivery-address-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.product-modal {
  width: min(980px, calc(100% - 36px));
  max-height: min(820px, calc(100vh - 36px));
  padding: 0;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .34);
  overflow: hidden;
}

.product-modal::backdrop {
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(6px);
}

.product-modal-body {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding: 28px;
}

.product-modal-media {
  overflow: hidden;
  border-radius: 24px;
  background: var(--panel);
}

.product-modal-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.product-modal-copy {
  display: flex;
  flex-direction: column;
}

.product-modal-copy p {
  margin-bottom: 28px;
}

.product-modal-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.master-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.master-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.master-booking {
  min-height: 42px;
  width: auto;
  min-width: 164px;
  margin-top: 0;
  padding-inline: 18px;
  font-size: 14px;
  line-height: 1.15;
  white-space: nowrap;
}

.master-card-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 18px;
}

.master-booking-note {
  display: block;
  margin-top: auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.master-modal {
  width: min(1120px, calc(100% - 36px));
  max-height: min(860px, calc(100vh - 36px));
  padding: 0;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .34);
  overflow: hidden;
}

.master-modal::backdrop {
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(6px);
}

.master-modal-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  background: color-mix(in srgb, var(--bg-soft) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.master-modal-head h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.master-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 28px;
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding: 28px;
}

.master-modal-gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.master-modal-gallery figure {
  min-width: min(420px, 86%);
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--panel);
  scroll-snap-align: start;
}

.master-modal-gallery img {
  height: 520px;
  object-fit: cover;
}

.master-modal-gallery figcaption {
  padding: 12px 16px;
  color: var(--muted);
}

.master-gallery-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.master-modal-copy ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 28px;
  padding: 0;
  list-style: none;
}

.master-modal-copy li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.master-modal-booking {
  width: 100%;
}

.reels-section .section-head {
  max-width: 760px;
}

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

.reel-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(185, 133, 45, .18), transparent 34%),
    #17120f;
}

.reel-frame iframe,
.reel-frame video,
.reel-frame img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.reel-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 22px;
  color: #fffaf1;
  text-align: center;
  font-weight: 900;
}

.reel-card h3 {
  padding: 18px 18px 20px;
  font-size: 22px;
}

.contacts-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  align-items: stretch;
}

.contacts-copy {
  align-self: center;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-list a,
.contact-list span {
  width: fit-content;
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 88%, #fff), var(--panel));
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(73, 49, 26, .1);
  transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.social-links a:hover {
  color: var(--gold-dark);
  border-color: color-mix(in srgb, var(--gold) 64%, var(--line));
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(73, 49, 26, .16);
}

.social-links svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.map-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: var(--text);
  background: #ded5c7;
}

.map-card iframe,
.map-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-card iframe {
  filter: saturate(.82) contrast(.95);
}

.map-placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  background:
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(0deg, var(--line) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(185, 133, 45, .18), transparent 28%),
    var(--bg-soft);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.map-route-panel {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-soft) 90%, transparent);
  box-shadow: 0 14px 38px rgba(33, 25, 21, .16);
  backdrop-filter: blur(16px);
}

.route-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-route-panel .button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  white-space: nowrap;
}

.route-empty {
  max-width: 280px;
  display: block;
  padding: 4px 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.floating-booking {
  position: fixed;
  right: calc(var(--column-center) + (var(--column-width-anchor) / 2) + 44px);
  bottom: 24px;
  z-index: 45;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(132, 89, 31, .32);
  border-radius: 999px;
  color: var(--button-text);
  background: var(--primary-button-bg);
  box-shadow: 0 14px 34px rgba(73, 49, 26, .24);
  text-decoration: none;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .02em;
  transition: transform .18s ease, box-shadow .18s ease;
}

.floating-booking:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(73, 49, 26, .34);
}

.holiday-effects {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  overflow: hidden;
}

.holiday-snowflake,
.holiday-confetti,
.holiday-firework,
.holiday-firework-spark,
.holiday-star,
.holiday-winter-guest {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 95;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
}

.holiday-snowflake {
  color: rgba(255, 255, 255, .92);
  font-size: var(--holiday-size, 18px);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .38));
  animation: holiday-snow-fall var(--holiday-duration, 9000ms) linear forwards;
}

.holiday-confetti {
  width: var(--holiday-width, 8px);
  height: var(--holiday-height, 14px);
  border-radius: 2px;
  background: var(--holiday-color, #d8a23a);
  box-shadow: 0 0 10px rgba(255, 255, 255, .16);
  animation: holiday-confetti-fall var(--holiday-duration, 5200ms) linear forwards;
}

.holiday-firework {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--holiday-color, #f0c778);
  box-shadow: 0 0 22px var(--holiday-color, #f0c778);
  animation: holiday-firework-pop 820ms ease-out forwards;
}

.holiday-firework-spark {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--holiday-color, #f0c778);
  box-shadow: 0 0 14px var(--holiday-color, #f0c778);
  animation: holiday-firework-spark 960ms ease-out forwards;
}

.holiday-star {
  color: var(--holiday-color, #f0c778);
  font-size: var(--holiday-size, 22px);
  text-shadow: 0 0 12px rgba(240, 199, 120, .5);
  animation: holiday-star-drift var(--holiday-duration, 2400ms) ease-out forwards;
}

.holiday-winter-guest {
  font-size: clamp(34px, 4vw, 58px);
  filter: drop-shadow(0 12px 18px rgba(20, 16, 12, .24));
  animation: holiday-winter-guest 5200ms ease-in-out forwards;
}

@keyframes holiday-snow-fall {
  from {
    opacity: 0;
    transform: translate3d(var(--holiday-x-start, 0), -12vh, 0) rotate(0deg);
  }
  10%, 90% {
    opacity: .95;
  }
  to {
    opacity: 0;
    transform: translate3d(var(--holiday-x-end, 20px), 112vh, 0) rotate(var(--holiday-rotate, 240deg));
  }
}

@keyframes holiday-confetti-fall {
  from {
    opacity: 0;
    transform: translate3d(var(--holiday-x-start, 0), -8vh, 0) rotate(0deg);
  }
  12%, 88% {
    opacity: .95;
  }
  to {
    opacity: 0;
    transform: translate3d(var(--holiday-x-end, 0), 108vh, 0) rotate(var(--holiday-rotate, 540deg));
  }
}

@keyframes holiday-firework-pop {
  0% {
    opacity: 0;
    transform: translate3d(var(--holiday-x, 50vw), var(--holiday-y, 40vh), 0) scale(.2);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--holiday-x, 50vw), var(--holiday-y, 40vh), 0) scale(2.6);
  }
}

@keyframes holiday-firework-spark {
  0% {
    opacity: 1;
    transform: translate3d(var(--holiday-x, 50vw), var(--holiday-y, 40vh), 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--holiday-x, 50vw) + var(--holiday-dx, 0px)), calc(var(--holiday-y, 40vh) + var(--holiday-dy, 0px)), 0) scale(.2);
  }
}

@keyframes holiday-star-drift {
  from {
    opacity: 0;
    transform: translate3d(var(--holiday-x, 50vw), var(--holiday-y, 50vh), 0) rotate(0deg) scale(.7);
  }
  20% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate3d(calc(var(--holiday-x, 50vw) + var(--holiday-dx, 0px)), calc(var(--holiday-y, 50vh) + var(--holiday-dy, -80px)), 0) rotate(180deg) scale(1.4);
  }
}

@keyframes holiday-winter-guest {
  0% {
    opacity: 0;
    transform: translate3d(var(--holiday-start-x, -80px), var(--holiday-y, 74vh), 0) scale(.88);
  }
  15%, 78% {
    opacity: .95;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--holiday-end-x, 110vw), var(--holiday-y, 74vh), 0) scale(.88);
  }
}

@media (prefers-reduced-motion: reduce) {
  .holiday-snowflake,
  .holiday-confetti,
  .holiday-firework,
  .holiday-firework-spark,
  .holiday-star,
  .holiday-winter-guest {
    display: none;
    animation: none;
  }
}

.cart-drawer {
  position: fixed;
  top: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 80;
  width: min(460px, calc(100% - 28px));
  display: flex;
  flex-direction: column;
  padding: 0;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(33, 25, 21, .28);
  transform: translateX(calc(100% + 28px));
  opacity: 0;
  transition: transform .26s ease, opacity .22s ease;
  overflow: hidden;
}

.cart-drawer.open {
  transform: translateX(0);
  opacity: 1;
}

.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  font-size: 38px;
}

.cart-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  overflow-y: auto;
}

.cart-empty {
  padding: 18px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: var(--panel);
  line-height: 1.5;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.cart-item-title {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.25;
}

.cart-item-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.cart-item-sum {
  margin-top: 6px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 950;
}

.cart-item-controls {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
}

.cart-qty button,
.cart-remove {
  border: 0;
  color: var(--text);
  background: transparent;
  font-weight: 950;
}

.cart-qty button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--panel) 78%, transparent);
}

.cart-qty button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.cart-remove {
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 950;
}

.cart-total strong {
  font-size: 24px;
}

.order-form {
  display: grid;
  gap: 14px;
}

.order-form label,
.order-form fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
}

.order-form label > span,
.order-form legend {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.order-form input[type="text"],
.order-form input[type="tel"],
.order-form select,
.order-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: var(--panel);
  font: inherit;
}

.order-form textarea {
  resize: vertical;
}

.order-form fieldset {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.order-form fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
}

.cart-submit {
  width: 100%;
}

.cart-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cart-status.is-error {
  color: #a83322;
}

.cart-status.is-success {
  color: var(--green);
  font-weight: 800;
}

.cart-payment-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold-dark);
  font-weight: 950;
}

.footer {
  position: relative;
  width: 100%;
  min-height: var(--footer-height);
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(300px, 1fr) minmax(220px, .85fr);
  align-items: center;
  gap: 18px;
  margin: 0;
  padding-left: calc(var(--column-center) + (var(--column-width-anchor) / 2) + 20px);
  padding-right: calc(var(--column-center) + (var(--column-width-anchor) / 2) + clamp(170px, 10vw, 230px));
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer::before,
.footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  z-index: 0;
  width: var(--column-base-width);
  height: var(--footer-height);
  pointer-events: none;
  opacity: var(--column-base-opacity);
  filter: var(--column-filter);
  background: url("../img/column-real-base.png") center bottom / contain no-repeat;
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.footer::before {
  left: calc(var(--column-center) - (var(--column-base-width) / 2) + var(--column-base-nudge));
}

.footer::after {
  right: calc(var(--column-center) - (var(--column-base-width) / 2) + var(--column-base-nudge));
  transform: scaleX(-1);
}

.footer a {
  justify-self: end;
  color: var(--gold-dark);
}

.footer-logo {
  width: 136px;
  justify-self: start;
  line-height: 0;
}

.footer-logo img {
  max-height: 56px;
  object-fit: contain;
}

.footer-contact {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--text);
  text-align: center;
  font-size: 14px;
}

.footer-phones {
  display: grid;
  gap: 2px;
}

.footer-contact a {
  justify-self: center;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.footer-social-links {
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.footer-social-links a {
  width: 34px;
  height: 34px;
  justify-self: auto;
}

.footer-social-links svg {
  width: 16px;
  height: 16px;
}

.footer-dev {
  justify-self: start;
  text-align: left;
  white-space: nowrap;
}

.footer > * {
  position: relative;
  z-index: 1;
}

.portfolio-modal {
  width: min(1120px, calc(100% - 36px));
  max-height: min(860px, calc(100vh - 36px));
  padding: 0;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .34);
  overflow: hidden;
}

.portfolio-modal::backdrop {
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(6px);
}

.portfolio-modal-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  background: color-mix(in srgb, var(--bg-soft) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.portfolio-modal-head h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.modal-close {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: var(--panel);
  font-size: 30px;
  line-height: 1;
}

.portfolio-modal-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-height: calc(100vh - 170px);
  overflow: auto;
  padding: 28px;
}

.portfolio-modal-body article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.mobile-menu {
  display: none;
}

.page-shade {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: block;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}

.page-shade.open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1120px) {
  :root {
    --hero-media-side: 0px;
  }

  .site-column-shafts,
  .site-header::before,
  .site-header::after,
  .footer::before,
  .footer::after {
    display: none;
  }

  .header-nav {
    gap: 12px;
    font-size: 11px;
  }

  .features-grid, .care-grid, .product-grid, .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-hero {
    grid-template-columns: 1fr;
  }

  .portfolio-filters {
    justify-content: flex-start;
    max-width: none;
  }

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

  .portfolio-work {
    grid-column: span 2;
  }

  .master-card {
    flex-basis: calc((100% - 36px) / 3);
  }

  .floating-booking {
    right: 24px;
  }
}

@media (max-width: 780px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: var(--bg);
  }

  .header-inner {
    min-height: 76px;
    grid-template-columns: 44px 1fr 44px;
  }

  .header-nav {
    display: none;
  }

  .burger, .close-button {
    display: block;
  }

  .header-logo {
    justify-self: center;
    width: 138px;
  }

  .mobile-menu {
    position: fixed;
    inset: 10px auto 10px 10px;
    z-index: 70;
    width: min(350px, calc(100% - 34px));
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--bg-soft);
    box-shadow: var(--shadow);
    transform: translateX(calc(-100% - 20px));
    transition: transform .26s ease, opacity .22s ease;
    opacity: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
  }

  .mobile-menu-head {
    display: grid;
    grid-template-columns: 1fr 42px;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu-logo {
    width: 148px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }

  .mobile-menu-logo img {
    display: block;
    width: 100%;
    max-height: 64px;
    object-fit: contain;
  }

  .mobile-menu .close-button {
    justify-self: end;
  }

  .mobile-menu-links {
    display: grid;
    gap: 8px;
  }

  .mobile-menu-links a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: color-mix(in srgb, var(--panel) 82%, transparent);
    text-decoration: none;
    font-weight: 900;
  }

  .mobile-menu-actions .button {
    width: 100%;
  }

  .mobile-menu-contacts {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--muted);
    background: color-mix(in srgb, var(--panel) 74%, transparent);
    font-weight: 800;
  }

  .mobile-menu-contacts a {
    color: var(--text);
    text-decoration: none;
  }

  .mobile-menu-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .mobile-menu-socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    background: var(--panel);
    text-decoration: none;
    font-size: 12px;
    font-weight: 950;
  }

  .mobile-menu-socials svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .page-shade {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: block;
    background: rgba(0,0,0,.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
  }

  .page-shade.open {
    opacity: 1;
    pointer-events: auto;
  }

  .hero-full {
    min-height: var(--mobile-hero-min-height);
    width: 100%;
    max-width: 100%;
  }

  .hero-lead {
    max-width: 100%;
    font-size: clamp(16px, 4.4vw, 19px);
    overflow-wrap: anywhere;
  }

  h1,
  .hero-title {
    max-width: 100%;
    font-size: clamp(34px, 10.4vw, 54px);
    line-height: 1;
    text-wrap: balance;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .hero-title *,
  .hero-kicker *,
  .hero-lead * {
    max-width: 100%;
  }

  .hero-content {
    width: min(100% - 32px, 390px);
    max-width: calc(100% - 32px);
    overflow: hidden;
  }

  .hero-actions {
    max-width: 100%;
    gap: 10px;
  }

  .hero-actions .button {
    max-width: 100%;
    min-height: 46px;
    padding-inline: 18px;
    white-space: normal;
    text-align: center;
  }

  .section {
    padding: var(--mobile-section-padding) 0;
  }

  .section[id] {
    scroll-margin-top: 90px;
  }

  .feature-card,
  .care-grid article,
  .master-card,
  .product-card,
  .map-card,
  .works-grid article,
  .portfolio-item,
  .portfolio-hero {
    border-radius: var(--mobile-card-radius);
  }

  :is(h1, h2, .kicker, .section-text, .hero-title, .hero-kicker, .hero-lead):has(.mobile-copy:not(:empty)) > .desktop-copy {
    display: none;
  }

  :is(h1, h2, .kicker, .section-text, .hero-title, .hero-kicker, .hero-lead) > .mobile-copy:not(:empty) {
    display: contents;
  }

  body[data-mobile-reveal] .section {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .5s ease, transform .5s ease;
  }

  body[data-mobile-reveal] .section.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

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

  .features-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin-inline: -16px;
    padding: 0 16px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .features-grid::-webkit-scrollbar {
    display: none;
  }

  .features-grid .feature-card {
    flex: 0 0 min(84vw, 360px);
    min-height: 300px;
    scroll-snap-align: start;
  }

  .care-grid,
  .works-grid,
  .reels-grid {
    display: flex;
    gap: 14px;
    margin-inline: -16px;
    padding: 0 16px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .care-grid::-webkit-scrollbar,
  .works-grid::-webkit-scrollbar,
  .reels-grid::-webkit-scrollbar {
    display: none;
  }

  .care-grid article,
  .works-grid article,
  .reel-card {
    flex: 0 0 min(82vw, 360px);
    min-width: min(82vw, 360px);
    scroll-snap-align: start;
  }

  .portfolio-hero {
    padding: 24px;
    border-radius: 26px;
  }

  .portfolio-filters {
    flex-wrap: nowrap;
    margin-inline: -24px;
    padding: 0 24px 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .portfolio-filters button {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

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

  .portfolio-work {
    grid-column: auto;
    padding: 18px;
  }

  .portfolio-photo,
  .portfolio-photo img {
    min-height: 340px;
  }

  .feature-card:nth-child(2),
  .feature-card:nth-child(4) {
    transform: none;
  }

  .gallery-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-strip::-webkit-scrollbar {
    display: none;
  }

  .gallery-strip figure, .team-slider .master-card {
    min-width: 82%;
    flex-basis: 82%;
    scroll-snap-align: start;
  }

  .slider-arrow {
    display: none;
  }

  .master-card {
    min-width: min(78vw, 340px);
    flex-basis: min(78vw, 340px);
  }

  .master-modal {
    width: 100%;
    max-width: none;
    max-height: 96vh;
    margin: auto 0 0;
    border-radius: 26px 26px 0 0;
  }

  .product-modal {
    width: 100%;
    max-width: none;
    max-height: 96vh;
    margin: auto 0 0;
    border-radius: 26px 26px 0 0;
  }

  .master-modal-head {
    align-items: center;
    padding: 18px;
  }

  .master-modal-head h2,
  .product-modal .master-modal-head h2 {
    font-size: clamp(28px, 8vw, 42px);
    overflow-wrap: break-word;
  }

  .master-modal-body {
    grid-template-columns: 1fr;
    max-height: calc(96vh - 118px);
    padding: 18px;
  }

  .product-modal-body {
    grid-template-columns: 1fr;
    gap: 18px;
    max-height: calc(96vh - 118px);
    padding: 18px;
  }

  .product-modal-media img {
    height: 300px;
  }

  .product-modal-buy {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .master-modal-gallery figure {
    min-width: 100%;
  }

  .master-modal-gallery img {
    height: min(52vh, 360px);
  }

  .master-modal-copy p {
    font-size: 16px;
    line-height: 1.6;
  }

  .master-modal-copy li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .gallery-strip figure {
    min-height: 300px;
  }

  .service-table article {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
    padding: 16px;
  }

  .service-table article > div {
    grid-column: 1 / -1;
  }

  .service-table h3 {
    font-size: 24px;
  }

  .service-table p {
    font-size: 15px;
    line-height: 1.55;
  }

  .service-table article > span {
    justify-self: start;
    width: auto;
    text-align: left;
    padding: 5px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--panel) 70%, var(--bg));
    font-size: 13px;
    font-weight: 900;
  }

  .service-table article > strong {
    justify-self: end;
    width: auto;
    text-align: right;
    font-size: 18px;
  }

  .product-card-bottom {
    gap: 14px;
  }

  .before-after {
    aspect-ratio: 4 / 5;
  }

  .contacts-section, .footer {
    grid-template-columns: 1fr;
  }

  .map-card {
    min-height: 440px;
  }

  .map-route-panel {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    border-radius: 24px;
    padding: 10px;
  }

  .route-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .map-route-panel .button,
  .route-buttons .button {
    width: 100%;
  }

  .floating-booking {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 0 20px;
    max-width: calc(100% - 28px);
  }

  .works-actions {
    justify-content: flex-start;
    margin: 0 0 22px;
  }

  .portfolio-modal {
    width: 100%;
    max-width: none;
    max-height: 96vh;
    margin: auto 0 0;
    border-radius: 26px 26px 0 0;
  }

  .portfolio-modal-head {
    align-items: center;
    padding: 18px;
  }

  .portfolio-modal-body {
    grid-template-columns: 1fr;
    max-height: calc(96vh - 118px);
    padding: 18px;
  }

  .footer {
    padding: 24px 16px;
  }

  .footer a {
    justify-self: start;
  }

  .footer-logo,
  .footer-contact,
  .footer-dev {
    justify-self: center;
    text-align: center;
  }

  .footer-contact a,
  .footer-social-links a {
    justify-self: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}


/* boger hotfix 2026-07-03 */
body.modal-open.is-scroll-locked {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  overscroll-behavior: none;
}

html.modal-open,
body.modal-open.is-scroll-locked {
  overscroll-behavior: none;
}

.master-modal[open],
.product-modal[open] {
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.master-modal-body,
.product-modal-body {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 760px) {
  .master-modal {
    width: min(100% - 20px, 520px);
    max-height: calc(100dvh - 20px);
    overflow: auto;
  }
}

.before-after,
.before-after * {
  -webkit-user-select: none;
  user-select: none;
}

.before-after {
  touch-action: none;
}

.before-after::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--before-after-position, 50%) - 32px);
  width: 64px;
  pointer-events: none;
}

@media (pointer: coarse) {
  .before-after::after {
    left: calc(var(--before-after-position, 50%) - 44px);
    width: 88px;
  }
}

@media (max-width: 760px) {
  section[id] {
    scroll-margin-top: 86px;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 90;
  }

  .services-section .tabs[data-service-tabs],
  .shop-section .tabs[data-product-tabs] {
    position: sticky;
    top: 76px;
    z-index: 35;
    margin-inline: -16px;
    padding: 8px 16px;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    border-block: 1px solid var(--line);
    backdrop-filter: blur(16px);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .services-section .tabs[data-service-tabs] {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .shop-section .tabs[data-product-tabs] {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .services-section .tabs[data-service-tabs]::-webkit-scrollbar,
  .shop-section .tabs[data-product-tabs]::-webkit-scrollbar {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

  .product-card img {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .product-card-copy {
    padding: 14px;
  }

  .product-card-copy h3 {
    font-size: clamp(18px, 5vw, 22px);
    line-height: 1.02;
  }

  .product-card-copy p {
    display: none;
  }

  .product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 12px;
  }

  .product-card-bottom .button {
    min-width: 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .product-card-bottom .button::before {
    content: "+";
    font-size: 26px;
    line-height: 1;
  }

  .delivery-address-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    gap: 14px;
  }

  .footer-logo {
    order: -1;
    justify-self: center;
  }

  .footer-contact {
    justify-self: center;
    text-align: center;
  }
}

/* final mobile and portfolio fixes 2026-07-05 */
.portfolio-body {
  overflow-x: hidden;
}

.portfolio-hero {
  overflow: hidden;
}

.portfolio-filters {
  max-width: 100%;
}

.master-service-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px 12px;
}

.master-service-name {
  min-width: 0;
}

.master-service-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.master-service-price,
.service-price,
.product-price,
.order-total,
.cart-total {
  white-space: nowrap;
}

.reviews-section {
  display: grid;
  gap: 28px;
  padding-block: clamp(72px, 9vw, 132px);
}

.reviews-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.reviews-rating-card {
  display: grid;
  min-width: 220px;
  gap: 4px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow: var(--shadow-soft);
}

.reviews-rating-card span,
.review-source {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.reviews-rating-card strong {
  color: var(--title);
  font-family: var(--font-title);
  font-size: clamp(42px, 5vw, 72px);
  line-height: .9;
}

.reviews-rating-card em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

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

.review-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: var(--shadow-soft);
}

.review-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.review-card h3 {
  margin: 6px 0 0;
  color: var(--title);
  font-family: var(--font-title);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.review-stars {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 16px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.review-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.review-card-foot time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.review-card-foot .button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.reviews-actions {
  display: flex;
  justify-content: center;
}

@media (min-width: 1121px) {
  .floating-booking {
    right: calc(var(--column-center) + (var(--column-width-anchor) / 2) + 84px);
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 88px;
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 12px);
  }

  body {
    padding-top: var(--header-height);
  }

  body.modal-open {
    overflow: hidden;
  }

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 90;
  }

  .header-inner {
    min-height: var(--header-height);
  }

  section[id],
  #top {
    scroll-margin-top: calc(var(--header-height) + 14px);
  }

  .mobile-menu {
    top: calc(var(--header-height) + 10px);
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    right: auto;
    width: min(360px, calc(100% - 22px));
    max-height: calc(100dvh - var(--header-height) - 20px);
    padding: 14px;
    border-radius: 24px;
    gap: 12px;
  }

  .mobile-menu-head {
    grid-template-columns: 1fr 38px;
    padding-bottom: 10px;
  }

  .mobile-menu-logo {
    width: 136px;
  }

  .mobile-menu-links {
    gap: 7px;
  }

  .mobile-menu-links a {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 18px;
    line-height: 1.1;
  }

  .mobile-menu-contacts {
    padding: 12px;
  }

  .hero-full {
    background: var(--block-light-bg, var(--bg));
  }

  .hero-has-media .hero-video-bg {
    background: var(--bg);
  }

  .portfolio-page {
    padding-inline: 14px;
  }

  .reviews-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .reviews-rating-card {
    min-width: 0;
  }

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

  .review-card {
    min-height: auto;
    padding: 22px;
    border-radius: 24px;
  }

  .review-card-head,
  .review-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-hero {
    padding: 22px;
    border-radius: 26px;
  }

  .portfolio-hero .section-head h1 {
    font-size: clamp(40px, 13vw, 64px);
    line-height: .95;
    overflow-wrap: anywhere;
  }

  .portfolio-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: none;
    margin-inline: -22px;
    padding: 0 22px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  .portfolio-filters button {
    flex: 0 0 auto;
  }

  .team-slider {
    scroll-snap-type: x mandatory;
  }

  .team-slider .master-card {
    flex: 0 0 min(78vw, 330px);
    min-width: min(78vw, 330px);
    min-height: auto;
  }

  .master-card img,
  .master-photo-placeholder {
    height: clamp(230px, 58vw, 300px);
  }

  .master-card-body {
    min-height: auto;
    padding: 20px;
    gap: 12px;
  }

  .master-card-body > p:not(.kicker) {
    display: none;
  }

  .master-card ul {
    display: grid;
    gap: 8px;
    padding-left: 0;
    list-style: none;
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.3;
  }

  .master-service-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .master-service-meta {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .master-booking {
    width: min(100%, 220px);
    margin-top: auto;
  }

  .before-after {
    touch-action: none;
  }

  .before-after input {
    pointer-events: auto;
    touch-action: none;
  }

  .work-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}

.works-grid article:hover .work-media img {
  transform: scale(1.04);
}

@media (max-width: 780px) {
  .work-media {
    aspect-ratio: 4 / 5;
  }
}

  .footer {
    justify-items: center;
    text-align: center;
    padding-bottom: 104px;
  }

  .footer-logo {
    justify-self: center;
    margin-inline: auto;
  }

  .footer-logo img {
    margin-inline: auto;
  }

  .footer-dev {
    justify-self: center;
    margin-bottom: 72px;
    font-size: clamp(17px, 5vw, 22px);
    white-space: normal;
  }

  .floating-booking {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

/* Mobile footer compact hotfix 2026-07-06 */
@media (max-width: 767px) {
  .site-footer,
  .footer,
  footer.site-footer {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 24px !important;
    padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .site-footer .container,
  .site-footer__inner,
  .footer-inner,
  .footer-content,
  .site-footer__content {
    min-height: 0 !important;
    gap: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
  }

  .site-footer img,
  .site-footer__logo img,
  .footer-logo img,
  .site-footer .brand-logo {
    max-width: 156px !important;
    width: min(42vw, 156px) !important;
    height: auto !important;
  }

  .site-footer address,
  .site-footer .footer-address,
  .site-footer .footer-contacts,
  .site-footer .footer-contact,
  .site-footer .footer-phone {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.28 !important;
  }

  .site-footer .social-links,
  .site-footer .footer-socials,
  .site-footer .social-list {
    margin-top: 4px !important;
    gap: 8px !important;
  }

  .site-footer .developer-link,
  .site-footer a[href*="m0r64n4"],
  .site-footer a[href*="m0r64n4.ru"],
  .site-footer .footer-developer,
  .site-footer .developer-credit {
    font-size: 13px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .site-footer .footer-developer,
  .site-footer .developer-credit {
    margin-top: 8px !important;
  }

  .floating-booking {
    right: max(16px, env(safe-area-inset-right, 0px)) !important;
    bottom: calc(22px + env(safe-area-inset-bottom, 0px)) !important;
    min-width: 0 !important;
    min-height: 50px !important;
    padding: 13px 24px !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }
}

/* Mobile footer compact hard fix 2026-07-06 */
@media (max-width: 767px) {
  body footer,
  body .site-footer,
  body footer.site-footer {
    min-height: 0 !important;
    height: auto !important;
    padding: 18px 18px calc(118px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
  }

  body footer *,
  body .site-footer * {
    box-sizing: border-box;
  }

  body footer > *,
  body .site-footer > *,
  body footer .container,
  body .site-footer .container,
  body footer [class*="inner"],
  body footer [class*="content"],
  body .site-footer [class*="inner"],
  body .site-footer [class*="content"] {
    min-height: 0 !important;
    height: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    gap: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
  }

  body footer img,
  body .site-footer img {
    max-width: 138px !important;
    width: min(38vw, 138px) !important;
    height: auto !important;
    margin: 0 auto 6px !important;
  }

  body footer address,
  body footer [class*="address"],
  body footer [class*="contact"],
  body footer [class*="phone"],
  body .site-footer address,
  body .site-footer [class*="address"],
  body .site-footer [class*="contact"],
  body .site-footer [class*="phone"] {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.22 !important;
  }

  body footer [class*="social"],
  body .site-footer [class*="social"] {
    margin: 6px 0 0 !important;
    gap: 8px !important;
  }

  body footer a[href*="m0r64n4"],
  body footer a[href*="m0r64n4.ru"],
  body footer .developer-link,
  body footer [class*="developer"],
  body .site-footer a[href*="m0r64n4"],
  body .site-footer a[href*="m0r64n4.ru"],
  body .site-footer .developer-link,
  body .site-footer [class*="developer"] {
    display: inline-block !important;
    max-width: calc(100vw - 44px) !important;
    margin: 8px auto 0 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  body .floating-booking {
    right: max(16px, env(safe-area-inset-right, 0px)) !important;
    bottom: calc(22px + env(safe-area-inset-bottom, 0px)) !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 13px 24px !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }
}

/* CKEditor heading render fix 2026-07-06 */
.kicker p,
.section-kicker p,
.section-head p,
.section-title p,
.section-subtitle p,
.page-title p,
.hero-title p,
.hero-kicker p,
.hero-text p,
h1 p,
h2 p,
h3 p {
  display: inline;
  margin: 0;
}

.section-description p,
.block-description p {
  margin-top: 0;
}

.section-description p:last-child,
.block-description p:last-child,
.hero-text p:last-child {
  margin-bottom: 0;
}

/* PageBlock CKEditor render fix 2026-07-06 */
.kicker p,
.section-head h2 p,
.section-head .desktop-copy p,
.section-head .mobile-copy p,
.reviews-head h2 p,
.contacts-copy .kicker p,
.shop-section .kicker p,
.shop-section h2 p {
  display: inline;
  margin: 0;
}

.section-head .desktop-copy > p:only-child,
.section-head .mobile-copy > p:only-child,
.kicker > p:only-child {
  display: inline;
}

/* CKEditor font size and product plus fix 2026-07-06 */
/* CKEditor must be able to control font size inside editable headings/texts. */
.themed-block .section-head h1 span[style*="font-size"],
.themed-block .section-head h2 span[style*="font-size"],
.themed-block .section-head h3 span[style*="font-size"],
.themed-block .section-head p span[style*="font-size"],
.themed-block .kicker span[style*="font-size"],
.hero-copy span[style*="font-size"],
.hero-copy p span[style*="font-size"] {
  font-size: inherit;
}

.themed-block .text-tiny,
.hero-copy .text-tiny {
  font-size: .7em !important;
}

.themed-block .text-small,
.hero-copy .text-small {
  font-size: .85em !important;
}

.themed-block .text-big,
.hero-copy .text-big {
  font-size: 1.4em !important;
}

.themed-block .text-huge,
.hero-copy .text-huge {
  font-size: 1.8em !important;
}

.themed-block [class*="text-tiny"],
.hero-copy [class*="text-tiny"] {
  font-size: .7em !important;
}

.themed-block [class*="text-small"],
.hero-copy [class*="text-small"] {
  font-size: .85em !important;
}

.themed-block [class*="text-big"],
.hero-copy [class*="text-big"] {
  font-size: 1.4em !important;
}

.themed-block [class*="text-huge"],
.hero-copy [class*="text-huge"] {
  font-size: 1.8em !important;
}

/* Round product/cart controls: keep the symbol visually centered. */
.product-card-bottom .button,
.product-modal-buy .button,
.cart-qty button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
}

.product-card-bottom .button::before {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100%;
  line-height: 1 !important;
  transform: translateY(-1px);
}

.cart-qty button {
  padding: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 18px !important;
}

/* Mobile cart modal scroll fix 2026-07-06 */
.cart-drawer {
  z-index: 240;
}

.cart-drawer.open {
  pointer-events: auto;
}

.cart-body {
  min-height: 0;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
  .cart-drawer {
    top: auto;
    right: max(10px, env(safe-area-inset-right, 0px));
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    left: max(10px, env(safe-area-inset-left, 0px));
    width: auto;
    max-width: none;
    height: auto;
    max-height: min(82dvh, calc(100dvh - 24px));
    border-radius: 26px;
    transform: translate3d(0, calc(100% + 24px), 0);
    overflow: hidden;
  }

  .cart-drawer.open {
    transform: translate3d(0, 0, 0);
  }

  .cart-head {
    flex: 0 0 auto;
    align-items: center;
    padding: 16px 18px 12px;
  }

  .cart-head h2 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: .95;
  }

  .cart-body {
    flex: 1 1 auto;
    max-height: calc(min(82dvh, calc(100dvh - 24px)) - 78px);
    padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    touch-action: pan-y;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item-controls {
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
    justify-items: stretch;
  }

  .cart-total {
    position: sticky;
    top: -14px;
    z-index: 2;
    background: var(--bg-soft);
  }
}


/* SEO service pages 2026-07-06 */
.service-page {
  background: var(--bg);
  color: var(--text);
}

.service-page .site-header {
  position: relative;
}

.service-seo {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 130px) 0;
}

.service-seo-hero,
.service-seo-content {
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  border-radius: 32px;
  background: color-mix(in srgb, var(--bg-soft) 92%, transparent);
  box-shadow: 0 28px 90px color-mix(in srgb, var(--text) 10%, transparent);
}

.service-seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 70px);
}

.service-seo-hero h1 {
  max-width: 850px;
  margin: 14px 0 20px;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 112px);
  line-height: .9;
  letter-spacing: 0;
}

.service-seo-hero .lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.service-seo-hero img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
}

.service-seo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.service-seo-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--gold) 42%, transparent);
  border-radius: 999px;
  color: var(--gold-dark);
  background: color-mix(in srgb, var(--bg-soft) 72%, transparent);
  font-weight: 800;
}

.service-seo-content {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 52px);
}

.service-seo-content h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  line-height: .98;
}

.service-seo-content p,
.service-seo-content li {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.service-seo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.service-seo-list article {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 58%, transparent);
}

.service-seo-list a,
.service-seo-list strong {
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.service-seo-list span {
  color: var(--muted);
}

@media (max-width: 760px) {
  .service-seo {
    width: min(100% - 28px, 460px);
    padding: 34px 0 72px;
  }

  .service-seo-hero {
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 26px;
  }

  .service-seo-hero h1 {
    font-size: clamp(42px, 15vw, 68px);
  }

  .service-seo-hero img {
    order: -1;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
  }

  .service-seo-content {
    border-radius: 24px;
  }
}

/* Legal pages and personal data consent modal 2026-07-07 */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
}

.footer .footer-legal-links a {
  justify-self: center;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.legal-body {
  min-height: 100vh;
}

.legal-page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) 0;
}

.legal-back {
  margin-bottom: 18px;
}

.legal-card {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.legal-card h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 72px);
}

.legal-card h2 {
  margin: 32px 0 12px;
  font-size: clamp(25px, 3.6vw, 38px);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.pd-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(8px);
}

.pd-consent-modal[hidden] {
  display: none !important;
}

.pd-consent-card {
  width: min(640px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--text);
  background: var(--bg-soft);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .35);
}

.pd-consent-card h2 {
  font-size: clamp(30px, 5vw, 48px);
}

.pd-consent-card p {
  margin: 14px 0 0;
}

.pd-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.pd-consent-links a {
  color: var(--gold-dark);
  font-weight: 900;
}

.pd-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 780px) {
  .footer-legal-links {
    display: grid;
    gap: 6px;
    font-size: 13px;
  }

  .pd-consent-actions .button {
    width: 100%;
  }
}

/* Mobile performance stabilization */
@media (max-width: 768px) {
  html {
    scroll-behavior: auto;
  }

  body {
    text-rendering: optimizeSpeed;
  }

  [data-reveal],
  .reveal,
  .is-revealed {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .page-section,
  .section,
  .portfolio-section,
  .products-section,
  .reviews-section,
  .contacts-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
  }

  .team-slider,
  .care-grid,
  .works-grid,
  .reels-grid {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .team-card,
  .service-card,
  .care-card,
  .product-card,
  .gallery-card,
  .work-card {
    will-change: auto !important;
  }

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

/* Compact services and care modal */
.card-short-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  cursor: pointer;
}

.card-more-button:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.service-table article {
  cursor: pointer;
}

.service-card-kicker {
  margin-bottom: 6px;
}

.service-more-button {
  justify-self: end;
}

.service-detail-modal {
  width: min(720px, calc(100% - 32px));
  padding: 0;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
  overflow: hidden;
}

.service-detail-modal::backdrop {
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(6px);
}

.service-detail-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 92%, transparent);
}

.service-detail-modal-head h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.service-detail-modal-body {
  display: grid;
  gap: 22px;
  padding: 26px;
}

.service-detail-modal-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-detail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.service-detail-meta span {
  color: var(--muted);
}

.service-detail-booking {
  width: 100%;
}

@media (max-width: 768px) {
  .service-table {
    border-radius: 24px;
  }

  .service-table article {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .service-table article > span,
  .service-table article > strong,
  .service-more-button {
    justify-self: start;
    text-align: left;
  }

  .care-grid article {
    cursor: pointer;
  }

  .service-detail-modal {
    width: min(100% - 18px, 720px);
    max-height: calc(100dvh - 18px);
    border-radius: 24px;
  }

  .service-detail-modal-head {
    padding: 20px;
  }

  .service-detail-modal-body {
    padding: 20px;
  }

  .service-detail-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Final services and care polish */
.service-table {
  overflow: hidden;
}

.service-table article {
  position: relative;
  align-items: center;
  gap: 18px;
}

.service-table article h3,
.care-card-copy h3 {
  letter-spacing: -0.03em;
}

.service-table article .card-short-text,
.care-card-copy .card-short-text {
  max-width: 680px;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.card-more-button {
  min-width: 128px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition:
    transform .2s ease,
    border-color .2s ease,
    color .2s ease,
    background .2s ease;
}

.card-more-button::after {
  content: "→";
  margin-left: 8px;
  font-size: 15px;
  line-height: 1;
}

.card-more-button:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
}

.service-table article > strong {
  white-space: nowrap;
  font-size: clamp(18px, 2vw, 24px);
}

.service-table article > span {
  white-space: nowrap;
  color: var(--muted);
}

.care-card {
  height: 100%;
}

.care-card-media {
  overflow: hidden;
}

.care-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care-card-copy {
  min-height: 230px;
}

.care-card-bottom {
  margin-top: auto;
}

.service-detail-modal {
  overscroll-behavior: contain;
}

.service-detail-modal-head .kicker {
  margin-bottom: 10px;
}

.service-detail-modal-head h2 {
  margin: 0;
  line-height: .92;
  letter-spacing: -0.055em;
}

.service-detail-modal-body {
  max-height: min(68dvh, 620px);
  overflow: auto;
  overscroll-behavior: contain;
}

.service-detail-modal-body p {
  font-size: clamp(15px, 2vw, 18px);
}

.service-detail-meta {
  position: sticky;
  bottom: -1px;
  background: var(--bg-soft);
  z-index: 1;
}

.service-detail-booking {
  min-height: 54px;
}

@media (max-width: 768px) {
  .service-table article {
    gap: 12px;
  }

  .service-table article h3 {
    font-size: 22px;
    line-height: 1.05;
  }

  .service-table article .card-short-text,
  .care-card-copy .card-short-text {
    -webkit-line-clamp: 2;
    font-size: 14px;
  }

  .service-table article > span {
    font-size: 13px;
  }

  .service-table article > strong {
    font-size: 20px;
  }

  .card-more-button {
    min-height: 36px;
    min-width: 0;
    padding: 0 14px;
    font-size: 11px;
  }

  .care-card-copy {
    min-height: 210px;
  }

  .service-detail-modal-head h2 {
    font-size: 32px;
  }

  .service-detail-modal-body {
    max-height: calc(100dvh - 190px);
  }

  .service-detail-meta {
    padding-top: 16px;
  }
}

/* Mobile repair: horizontal sliders and compact cards */
@media (max-width: 768px) {
  .features-section,
  .care-section,
  .reels-section {
    overflow: hidden;
  }

  .features-grid,
  .care-grid,
  .reels-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 18px 14px 18px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 18px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .features-grid::-webkit-scrollbar,
  .care-grid::-webkit-scrollbar,
  .reels-grid::-webkit-scrollbar {
    display: none !important;
  }

  .features-grid .feature-card {
    flex: 0 0 min(82vw, 350px) !important;
    min-width: min(82vw, 350px) !important;
    min-height: 250px !important;
    scroll-snap-align: start !important;
  }

  .features-grid .feature-card > span,
  .feature-media span {
    display: none !important;
  }

  .feature-card {
    padding: 24px !important;
  }

  .feature-card h3 {
    font-size: 34px;
    line-height: .95;
  }

  .feature-card p {
    font-size: 17px;
    line-height: 1.6;
  }

  .care-grid article {
    flex: 0 0 min(84vw, 360px) !important;
    min-width: min(84vw, 360px) !important;
    max-width: min(84vw, 360px) !important;
    min-height: 430px !important;
    scroll-snap-align: start !important;
  }

  .care-card-media {
    display: grid !important;
    height: 150px !important;
    background:
      radial-gradient(circle at 50% 48%, rgba(224, 180, 98, .24), transparent 34%),
      linear-gradient(135deg, rgba(255, 250, 241, .86), rgba(226, 215, 198, .54)) !important;
  }

  .care-card-media span {
    display: none !important;
  }

  .care-card-copy {
    min-height: 260px !important;
    padding: 22px !important;
  }

  .care-card-copy > .kicker,
  .service-card-kicker {
    display: none !important;
  }

  .care-card-copy h3 {
    font-size: 31px !important;
    line-height: .95 !important;
    margin: 0 0 12px !important;
  }

  .care-card-copy .card-short-text {
    -webkit-line-clamp: 3 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }

  .care-card-bottom {
    margin-top: auto !important;
  }

  .care-card-bottom strong {
    font-size: 24px !important;
  }

  .care-grid .card-more-button {
    width: 100% !important;
    margin-top: 16px !important;
  }

  .service-table article h3 {
    margin-top: 0 !important;
  }

  .reels-grid .reel-card {
    flex: 0 0 min(72vw, 310px) !important;
    min-width: min(72vw, 310px) !important;
    max-width: min(72vw, 310px) !important;
    scroll-snap-align: start !important;
  }

  .reel-frame {
    aspect-ratio: 9 / 16 !important;
    min-height: 0 !important;
  }

  .reel-frame iframe,
  .reel-frame video,
  .reel-frame img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border: 0 !important;
    object-fit: cover !important;
  }

  .reel-load-button {
    display: none !important;
  }

  .reel-card h3 {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .features-grid,
  .care-grid,
  .reels-grid {
    padding-left: 16px !important;
    padding-right: 16px !important;
    scroll-padding-left: 16px !important;
  }

  .features-grid .feature-card,
  .care-grid article {
    flex-basis: min(84vw, 350px) !important;
    min-width: min(84vw, 350px) !important;
  }

  .reels-grid .reel-card {
    flex-basis: min(74vw, 300px) !important;
    min-width: min(74vw, 300px) !important;
  }
}

/* Master booking click fix */
.master-card-actions,
.master-booking {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

.master-card.is-dragging .master-booking,
.team-slider.is-dragging .master-booking {
  pointer-events: auto;
}

/* Mobile master slider performance */
@media (max-width: 768px) {
  .team-slider {
    cursor: auto !important;
    user-select: auto !important;
    touch-action: pan-x pan-y !important;
    will-change: auto !important;
    scroll-snap-type: x proximity !important;
    scroll-behavior: auto !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .team-slider.is-dragging {
    cursor: auto !important;
    scroll-snap-type: x proximity !important;
  }

  .master-card {
    transition: none !important;
    transform: none !important;
    box-shadow: 0 14px 42px rgba(73, 49, 26, .12) !important;
  }

  .master-card:hover {
    transform: none !important;
    box-shadow: 0 14px 42px rgba(73, 49, 26, .12) !important;
  }

  .master-card,
  .master-card img,
  .master-photo-placeholder {
    will-change: auto !important;
  }

  .master-card,
  .master-modal,
  .product-modal,
  .service-detail-modal {
    backdrop-filter: none !important;
  }

  .team-slider .master-card {
    flex: 0 0 min(82vw, 340px) !important;
    min-width: min(82vw, 340px) !important;
    max-width: min(82vw, 340px) !important;
  }

  .slider-arrow {
    display: none !important;
  }
}

/* Hero logo image */
.hero-brand {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: clamp(16px, 2.2vw, 28px) auto clamp(18px, 2.6vw, 34px);
  line-height: 0;
}

.hero .hero-brand-mark,
.hero-brand-mark {
  display: block;
  width: clamp(220px, 28vw, 390px) !important;
  max-width: 72vw !important;
  max-height: 220px !important;
  height: auto !important;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .35));
}

@media (max-width: 760px) {
  .hero-brand {
    margin: 16px auto 22px;
  }

  .hero .hero-brand-mark,
  .hero-brand-mark {
    width: clamp(190px, 68vw, 290px) !important;
    max-height: 145px !important;
  }
}


/* Hero logo hard size fix */
.hero-full .hero-content .hero-brand,
.hero-full .hero-content .hero-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero-full .hero-content .hero-brand img,
.hero-full .hero-content .hero-brand-mark,
.hero-full .hero-content .hero-title img,
.hero-full .hero-content .hero-title figure,
.hero-full .hero-content .hero-title .image {
  width: min(340px, 30vw) !important;
  max-width: min(340px, 70vw) !important;
  height: auto !important;
  max-height: 210px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  object-fit: contain !important;
}

.hero-full .hero-content .hero-title figure img,
.hero-full .hero-content .hero-title .image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.hero-actions {
  margin-top: 24px;
}

@media (max-width: 760px) {
  .hero-full .hero-content .hero-brand img,
  .hero-full .hero-content .hero-brand-mark,
  .hero-full .hero-content .hero-title img,
  .hero-full .hero-content .hero-title figure,
  .hero-full .hero-content .hero-title .image {
    width: min(250px, 68vw) !important;
    max-width: min(250px, 68vw) !important;
    max-height: 145px !important;
  }

  .hero-actions {
    margin-top: 20px;
  }
}

.services-more-wrap {
  display: flex;
  justify-content: center;
  padding: 24px 18px 4px;
}

.services-show-more {
  min-width: 210px;
}

.services-show-more[hidden] {
  display: none !important;
}
