:root {
  --brand: #333544;
  --brand-deep: #292b38;
  --brand-soft: #454757;
  --paper: #f6f2ed;
  --paper-soft: rgba(246, 242, 237, 0.9);
  --white: #fffdf9;
  --line: rgba(51, 53, 68, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --muted: rgba(51, 53, 68, 0.68);
  --accent: #c99080;
  --accent-soft: #e8c5bc;
  --shadow: 0 24px 70px rgba(51, 53, 68, 0.14);
  --sans: 'PT Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'PT Serif', Georgia, serif;
  --header-h: 104px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html.is-accordion-switching { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--brand);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.7), transparent 30%),
    linear-gradient(90deg, rgba(246, 242, 237, 0.96), rgba(246, 242, 237, 0.86) 56%, rgba(246, 242, 237, 0.68));
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.site-tower-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('../img/tower-fixed.webp') right -6vw top -10vh / auto 132vh no-repeat;
  opacity: 0.14;
  filter: saturate(0.82) contrast(0.96);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--white);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, backdrop-filter 0.32s ease;
}
.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(51, 53, 68, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 38px rgba(51, 53, 68, 0.18);
  backdrop-filter: blur(18px);
}
.topline {
  min-height: 30px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navbar {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(18px, 4vw, 64px);
}
.brand img { width: clamp(150px, 15vw, 228px); height: auto; }
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.main-nav a { opacity: 0.86; transition: opacity 0.24s ease, color 0.24s ease; }
.main-nav a:hover { opacity: 1; color: var(--accent-soft); }
.nav-mobile-languages { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.book-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.24s ease, border-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
}
.book-link:hover,
.btn:hover { transform: translateY(-1px); }
.btn--fill {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(201, 144, 128, 0.22);
}
.btn--fill:hover { background: var(--brand); border-color: var(--brand); }

.contact-choice,
.lang-dropdown { position: relative; }
.phone-trigger,
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  cursor: pointer;
}
.phone-trigger::after,
.lang-current::after { content: '⌄'; font-size: 12px; opacity: 0.7; }
.contact-menu,
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  min-width: 170px;
  padding: 8px;
  background: var(--white);
  color: var(--brand);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(51, 53, 68, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.contact-choice.is-open .contact-menu,
.lang-dropdown.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.contact-menu a,
.lang-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 11px 12px;
  border: 0;
  background: transparent;
  color: var(--brand);
  text-align: left;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-menu a:hover,
.lang-menu button:hover,
.lang-menu button.is-active { background: rgba(51, 53, 68, 0.07); }
.lang-current {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  height: 1px;
  margin: 8px 0;
  background: var(--white);
  transition: transform 0.24s ease;
}
.menu-toggle.is-active span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle.is-active span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--brand);
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(0.88) contrast(0.92) brightness(0.82);
  transform: scale(1.01);
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(51, 53, 68, 0.08), rgba(51, 53, 68, 0.38) 38%, rgba(51, 53, 68, 0.72) 100%),
    linear-gradient(180deg, rgba(51, 53, 68, 0.08), rgba(51, 53, 68, 0.62));
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(860px, 86vw);
  display: grid;
  justify-items: center;
  gap: clamp(16px, 2.8vw, 28px);
  padding-top: 74px;
  text-align: center;
}
.hero__eyebrow,
.kicker {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero__logotype {
  width: min(760px, 78vw);
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(51, 53, 68, 0.42));
}

.section,
.contacts {
  width: min(1440px, calc(100vw - 64px));
  margin: 0 auto;
  padding: clamp(70px, 8vw, 120px) 0;
}
.section h2,
.contacts h2 {
  margin: 12px 0 24px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}
.section p,
.contacts p {
  max-width: 560px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.service-covers {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100vw - 64px));
  margin: -58px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}
.service-card {
  --corner-cut: clamp(12px, 1.2vw, 18px);
  position: relative;
  min-height: clamp(170px, 15vw, 220px);
  overflow: hidden;
  background: var(--brand);
  clip-path: polygon(
    var(--corner-cut) 0,
    calc(100% - var(--corner-cut)) 0,
    100% var(--corner-cut),
    100% calc(100% - var(--corner-cut)),
    calc(100% - var(--corner-cut)) 100%,
    var(--corner-cut) 100%,
    0 calc(100% - var(--corner-cut)),
    0 var(--corner-cut)
  );
  box-shadow: var(--shadow);
  isolation: isolate;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(51, 53, 68, 0.02), rgba(51, 53, 68, 0.68));
  transition: background 0.26s ease;
}
.service-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s ease;
}
.service-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.02;
  text-align: center;
  letter-spacing: -0.03em;
}
.service-card:hover img { transform: scale(1.045); filter: saturate(1.08) contrast(1.04); }
.service-card:hover::after { background: linear-gradient(180deg, rgba(51, 53, 68, 0), rgba(51, 53, 68, 0.58)); }

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
}
.about__photos {
  display: grid;
  grid-template-columns: 1.08fr 0.72fr;
  gap: 22px;
  align-items: end;
}
.photo-card {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.photo-card--main { transform: translateY(36px); }
.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}
.photo-card:not(.photo-card--main) img { min-height: 420px; }

.prices { padding-top: clamp(70px, 8vw, 108px); }
.section-head--prices {
  max-width: 860px;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.section-head--prices h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(38px, 4.3vw, 64px);
}
.price-accordion { display: grid; gap: 12px; overflow-anchor: none; }
.accordion-item {
  overflow: hidden;
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 12px 46px rgba(51, 53, 68, 0.06);
  backdrop-filter: blur(12px);
}
.accordion-head {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 20px clamp(22px, 4vw, 42px);
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.accordion-head span {
  font-family: var(--serif);
  font-size: clamp(24px, 2.35vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.accordion-head i {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
}
.accordion-head i::before,
.accordion-head i::after {
  content: '';
  position: absolute;
  width: 13px;
  height: 1px;
  background: currentColor;
}
.accordion-head i::after { transform: rotate(90deg); transition: transform 0.3s ease; }
.accordion-item.is-open .accordion-head i { background: var(--brand); color: var(--white); transform: rotate(180deg); }
.accordion-item.is-open .accordion-head i::after { transform: rotate(0deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease, visibility 0s linear 0.42s;
}
.accordion-item.is-open .accordion-panel {
  max-height: var(--panel-max-height, 0px);
  opacity: 1;
  visibility: visible;
  transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease;
}
.accordion-panel > .price-list {
  overflow: hidden;
}
.price-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(34px, 6vw, 92px);
  row-gap: 0;
  padding: 4px clamp(22px, 4vw, 42px) 30px;
}
.price-list p {
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 22px;
  margin: 0;
  padding: 15px 0;
  color: var(--brand);
  border-top: 1px solid rgba(51, 53, 68, 0.09);
}
.price-list span { color: var(--brand); }
.price-list strong {
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-list p:nth-child(odd) { grid-column: 1; }
.price-list p:nth-child(even) { grid-column: 2; }
.masters__head {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: clamp(26px, 4vw, 42px);
}
.masters__head h2 {
  max-width: 720px;
  font-size: clamp(38px, 4.6vw, 64px);
}
.masters__head p { max-width: 520px; }
.filter-tabs {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-tabs button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.62);
  color: var(--brand);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}
.filter-tabs button:hover,
.filter-tabs button.is-active {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.master-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.master-card {
  display: grid;
  gap: 18px;
  padding: 0;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 14px 46px rgba(51, 53, 68, 0.06);
  transition: transform 0.24s ease, border-color 0.24s ease;
}
.master-card figure {
  margin: 0;
  aspect-ratio: 3 / 4.35;
  overflow: hidden;
  background: rgba(255, 253, 249, 0.78);
}
.master-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.master-card div { padding: 0 22px 24px; }
.master-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.master-card strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.08;
}
.master-card.is-hidden{ display: none; }
.master-card:hover { transform: translateY(-2px); border-color: rgba(201, 144, 128, 0.55); }
.contacts {
  width: 100%;
  padding: clamp(54px, 7vw, 92px) 0 0;
}
.contacts__head {
  width: min(1440px, calc(100vw - 64px));
  margin: 0 auto 24px;
}
.contacts__head h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.6vw, 62px);
}
.map-card {
  width: 100%;
  overflow: hidden;
  border: 0;
  background: var(--white);
  box-shadow: var(--shadow);
}
.map-card iframe {
  width: 100%;
  height: clamp(260px, 28vw, 360px);
  display: block;
  border: 0;
  filter: grayscale(0.18) contrast(0.94) brightness(1.02);
}

.site-footer {
  width: 100%;
  margin: 0;
  color: var(--white);
}
.footer-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 360px) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 92px);
  padding: clamp(34px, 5vw, 60px) clamp(28px, 7vw, 110px);
  background: var(--brand);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-block {
  display: grid;
  gap: 18px;
}
.footer-block--right {
  justify-self: end;
  justify-items: start;
  text-align: left;
}
.footer-block a,
.footer-block .contact-choice,
.footer-block .phone-trigger,
.footer-block div {
  color: rgba(255, 255, 255, 0.9);
}
.footer-block span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-block b {
  font-weight: 400;
}
.footer-contact-item {
  display: grid;
  justify-items: start;
  gap: 5px;
}
.footer-contact-item .phone-trigger {
  padding: 0 14px 0 0;
  position: relative;
  line-height: 1.3;
}
.footer-contact-item .phone-trigger::after {
  position: absolute;
  right: 0;
  bottom: 0;
}
.footer-block a:hover,
.footer-block .phone-trigger:hover {
  color: var(--accent-soft);
}
.footer-block .contact-menu a {
  color: var(--brand);
  text-align: left;
}
.footer-logo {
  width: 100%;
  display: grid;
  justify-items: center;
}
.footer-logo img { width: min(360px, 100%); height: auto; }
.footer-bottom {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 0 clamp(28px, 7vw, 110px);
  background: rgba(51, 53, 68, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}
.crafted-credit {
  justify-self: center;
  letter-spacing: 0.04em;
}
.footer-policy-links {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}
.footer-policy-links a,
.footer-bottom a { color: rgba(255, 255, 255, 0.78); }
.footer-policy-links a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-policy-links a:hover { color: var(--accent-soft); }
.footer-bottom .creator-link {
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.footer-bottom .creator-link:hover { color: var(--white); }


.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

.legal-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
  max-width: 900px;
}
.legal-page h1 {
  margin: 14px 0 28px;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}
.legal-page a:not(.btn) { text-decoration: underline; }

@media (max-width: 1180px) {
  :root { --header-h: 74px; }
  .topline { display: none; }
  .navbar { grid-template-columns: auto auto; justify-content: space-between; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 52;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(16px, 3vh, 28px);
    padding: calc(var(--header-h) + 70px) 24px 42px;
    background: var(--brand);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    overflow-y: auto;
    transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s ease;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateX(0); }
  .main-nav a {
    width: min(420px, 100%);
    padding: 0;
    font-family: var(--serif);
    font-size: clamp(30px, 7.2vw, 46px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-align: center;
    text-transform: none;
  }
  .nav-mobile-languages {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 34px;
  }
  .nav-mobile-languages button {
    min-width: 54px;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: transparent;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    cursor: pointer;
  }
  .nav-mobile-languages button.is-active {
    background: var(--white);
    color: var(--brand);
  }
  .header-actions .lang-dropdown { display: none; }
  .brand,
  .header-actions { position: relative; z-index: 58; }
  .menu-toggle { display: block; }
  .book-link { display: none; }
  .about,
  .section-head--prices,
  .masters__head { grid-template-columns: 1fr; }
  .service-covers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .master-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-tabs { justify-content: flex-start; }
  .footer-panel { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { justify-self: center; width: min(340px, 64vw); }
  .footer-block,
  .footer-block--right { justify-items: center; text-align: center; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; padding: 18px clamp(24px, 6vw, 56px); }
  .footer-policy-links { justify-self: center; justify-content: center; }
}

@media (max-width: 720px) {
  .site-tower-bg {
    background-position: right -42vw top -6vh;
    background-size: auto 122vh;
    opacity: 0.065;
  }
  .section,
  .service-covers { width: min(100vw - 28px, 640px); }
  .contacts { width: 100%; }
  .contacts__head { width: min(100vw - 28px, 640px); }
  .hero__content { padding-top: 64px; }
  .hero__logotype { width: 86vw; }
  .service-covers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: -34px;
  }
  .service-card { min-height: clamp(132px, 38vw, 170px); --corner-cut: 12px; }
  .service-card span {
    left: 10px;
    right: 10px;
    bottom: 11px;
    font-size: clamp(16px, 4.8vw, 20px);
    line-height: 1.08;
  }
  .about__photos { grid-template-columns: 1fr; }
  .photo-card--main { transform: none; }
  .photo-card img,
  .photo-card:not(.photo-card--main) img { min-height: 360px; }
  .section h2,
  .contacts h2 { font-size: clamp(38px, 13vw, 56px); }
  .accordion-head {
    min-height: 60px;
    gap: 12px;
    padding: 15px 16px;
  }
  .accordion-head span { font-size: clamp(20px, 6vw, 26px); line-height: 1.12; }
  .accordion-head i { width: 30px; height: 30px; }
  .price-accordion { gap: 9px; }
  .price-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .price-list p:nth-child(odd),
  .price-list p:nth-child(even) { grid-column: auto; }
  .price-list p {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .master-grid { grid-template-columns: 1fr; }
  .contacts__head { display: block; }
  .footer-panel {
    padding: 34px 24px;
    gap: 28px;
  }
  .footer-block { gap: 16px; }
  .footer-block a,
  .footer-block .phone-trigger,
  .footer-block div {
    font-size: 15px;
    line-height: 1.35;
  }
  .footer-bottom {
    padding: 18px 24px;
    text-align: center;
  }
}


@media (max-width: 1180px) {
  .footer-block--right { justify-self: center; justify-items: center; text-align: center; }
  .footer-contact-item { justify-items: center; }
  .footer-contact-item .phone-trigger { padding-right: 14px; }
}

@media (max-width: 480px) {
  .main-nav {
    padding-top: calc(var(--header-h) + 62px);
    gap: 18px;
  }
  .main-nav a { font-size: clamp(29px, 9vw, 40px); }
  .nav-mobile-languages { padding-top: 24px; }
}
.master-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.master-card figure { aspect-ratio: 2 / 3; }
.master-card strong { display: block; font-size: clamp(24px, 2vw, 30px); }

@media (min-width: 1600px) {
  .section{ width: min(1680px, calc(100vw - 96px)); }
  .master-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
}
@media (min-width: 2200px) {
  .section{ width: min(1920px, calc(100vw - 128px)); }
}
@media (max-width: 1180px) {
  .master-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .master-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .master-card { gap: 12px; }
  .master-card div { padding: 0 14px 16px; }
  .master-card strong { font-size: 22px; }
}
@media (max-width: 420px) {
  .master-grid { grid-template-columns: 1fr; }
}

/* Georgian letterforms need neutral tracking; let the system choose a Georgian font. */
html[lang="ka"] { --sans: 'Noto Sans Georgian', 'DejaVu Sans', system-ui, sans-serif; --serif: 'Noto Serif Georgian', 'DejaVu Serif', Georgia, serif; }
html[lang="ka"] h1, html[lang="ka"] h2, html[lang="ka"] .main-nav a,
html[lang="ka"] .kicker, html[lang="ka"] .filter-tabs button,
html[lang="ka"] .master-card span { letter-spacing: normal; }
.about__photos { align-items: start; }
.photo-card img { aspect-ratio: 4 / 5; min-height: 0; object-fit: cover; }
.photo-card:not(.photo-card--main) img { aspect-ratio: 2 / 3; min-height: 0; }
.filter-tabs button { font-size: 14px; min-height: 44px; letter-spacing: .02em; text-transform: none; }
.master-card span { font-size: 14px; letter-spacing: .02em; text-transform: none; }
.master-card { min-width: 0; box-shadow: none; }
.master-card strong, .master-card span { overflow-wrap: anywhere; }
.section h2, .contacts h2 { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .about__photos { grid-template-columns: 1.15fr 1fr; gap: 12px; }
  .photo-card--main { transform: none; }
  .photo-card:not(.photo-card--main) { margin-top: 40px; }
  .photo-card img, .photo-card:not(.photo-card--main) img { min-height: 0; }
  .section h2, .contacts h2 { font-size: clamp(30px, 8vw, 48px); line-height: 1.2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Legal pages */
.legal-shell {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 34px 0 80px;
}
.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(44px, 7vw, 84px);
  padding: 14px 18px;
  background: rgba(51, 53, 68, 0.96);
  box-shadow: 0 18px 52px rgba(51, 53, 68, 0.16);
}
.legal-brand { display: block; width: min(230px, 48vw); }
.legal-brand img { width: 100%; height: auto; }
.legal-language { display: flex; gap: 7px; }
.legal-language button {
  min-width: 44px;
  min-height: 38px;
  border: 1px solid rgba(255,255,255,0.22);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.legal-language button.is-active {
  background: var(--white);
  color: var(--brand);
}
.legal-document {
  padding: clamp(28px, 5vw, 64px);
  background: rgba(255,253,249,0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.legal-document[hidden] { display: none !important; }
.legal-document h1 {
  margin: 12px 0 30px;
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.legal-document h2 {
  margin: 34px 0 10px;
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.legal-document p {
  max-width: 820px;
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}
.legal-document .legal-lead {
  max-width: 860px;
  color: var(--brand);
  font-size: clamp(18px, 2vw, 21px);
}
.legal-document a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal-document .legal-updated { margin-top: 34px; font-size: 13px; }
.legal-document .btn { margin-top: 8px; text-decoration: none; }

@media (max-width: 640px) {
  .legal-shell { width: min(100vw - 24px, 980px); padding-top: 12px; }
  .legal-topbar { margin-bottom: 18px; padding: 11px 12px; }
  .legal-brand { width: 155px; }
  .legal-language { gap: 4px; }
  .legal-language button { min-width: 38px; min-height: 34px; }
  .legal-document { padding: 26px 20px 32px; }
  .legal-document h1 { font-size: clamp(38px, 12vw, 54px); }
  .legal-document h2 { margin-top: 28px; }
}
