: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;
  }
}
