﻿@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@300;400;600;700&display=swap');

:root {
  --bg: #f7f8fb;
  --bg-deep: #eef1f5;
  --ink: #22252b;
  --muted: #666f7d;
  --accent: #eef2f7;
  --accent-dark: #cfd7e2;
  --card: #ffffff;
  --line: #d7dee8;
  --marble-sheen: rgba(255, 255, 255, 0.9);
  --marble-vein: rgba(140, 154, 175, 0.18);
  --marble-vein-soft: rgba(192, 201, 214, 0.15);
  /* Visual viewport vars (mobile browser UI safe). Set by JS when available. */
  --vv-top: 0px;
  --vv-height: 100vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Trebuchet MS', sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    linear-gradient(rgba(247, 248, 251, 0.92), rgba(247, 248, 251, 0.92)),
    url('../assets/marble.png?v=20260416-8') center/900px auto repeat,
    linear-gradient(160deg, var(--bg) 0%, #f1f4f8 48%, #e8edf3 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.policy-main {
  padding: 120px 0 68px;
}

.policy-card {
  background:
    linear-gradient(rgba(252, 253, 255, 0.94), rgba(252, 253, 255, 0.94)),
    url('../assets/marble.png?v=20260416-8') 44% 36%/900px auto repeat;
  border: 1px solid rgba(205, 214, 225, 0.9);
  border-radius: 34px;
  box-shadow: 0 24px 54px rgba(8, 12, 16, 0.14);
  padding: 34px;
}

.policy-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 14px 0 10px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  color: #1f2832;
}

.policy-lead {
  margin: 0 0 18px;
  color: #556372;
  font-size: 16px;
  line-height: 1.55;
  max-width: 70ch;
}

.policy-card h2 {
  margin: 22px 0 10px;
  font-size: 18px;
  color: #1f2832;
}

.policy-card p {
  margin: 10px 0 0;
  color: #3d4957;
  line-height: 1.6;
}

.policy-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #3d4957;
  line-height: 1.6;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #2a333f;
  text-decoration: underline;
  text-decoration-color: rgba(42, 51, 63, 0.35);
  text-underline-offset: 4px;
}

.policy-note {
  margin-top: 22px;
  color: #6a7786;
  font-size: 14px;
}

.policy-raw pre {
  margin: 16px 0 0;
  white-space: pre-wrap;
  font: inherit;
  color: #3d4957;
  line-height: 1.6;
}

.wrap {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: transparent;
  border-bottom: none;
  transition: background 0.25s ease;
}

.site-header .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 88px;
  margin-left: -120px;
  margin-top: 18px;
}

.brand-logo-mark {
  width: auto;
  height: 225px;
  display: block;
  flex: 0 0 auto;
  margin: 12px 0 0;
}

.brand-logo-name {
  width: auto;
  height: 164px;
  display: block;
  flex: 0 0 auto;
  margin: 28px 0 0;
  margin-left: -72px;
}

.home-page .brand-logo-mark {
  height: 195px;
  margin-top: -22px;
}

.home-page .brand-logo-name {
  height: 142px;
  margin-top: -10px;
  margin-left: -48px;
}

.site-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  font-size: 18px;
  color: var(--muted);
  margin-top: -50px;
}

.site-nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: -44px;
}

.mobile-header-actions,
.mobile-nav-drawer {
  display: none;
}

.telegram-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background:
    linear-gradient(rgba(250, 251, 253, 0.84), rgba(250, 251, 253, 0.84)),
    url('../assets/marble.png?v=20260416-8') 20% 35%/260px auto repeat;
  box-shadow: 0 8px 16px rgba(96, 109, 129, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.telegram-btn::before,
.btn.primary::before,
.services-panel::before,
.process-panel::before,
.service-card:nth-child(odd):not(.granite-card)::before,
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  background-repeat: no-repeat;
}

.telegram-btn::before {
  background:
    linear-gradient(132deg, transparent 0 14%, rgba(150, 164, 184, 0.22) 15%, rgba(128, 144, 166, 0.4) 16%, transparent 17%, transparent 46%, rgba(157, 171, 190, 0.24) 47%, rgba(122, 138, 160, 0.34) 48%, transparent 49%, transparent 100%),
    linear-gradient(38deg, transparent 0 30%, rgba(206, 214, 225, 0.32) 31%, rgba(154, 168, 187, 0.22) 32%, transparent 33%, transparent 65%, rgba(138, 153, 173, 0.18) 66%, transparent 67%, transparent 100%);
  background-size: 165% 165%, 145% 145%;
}

.btn.primary::before {
  background:
    linear-gradient(108deg, transparent 0 9%, rgba(151, 166, 186, 0.24) 10%, rgba(121, 137, 159, 0.42) 11%, transparent 12%, transparent 41%, rgba(123, 139, 162, 0.32) 42%, transparent 43%, transparent 68%, rgba(223, 229, 236, 0.44) 69%, transparent 70%, transparent 100%),
    linear-gradient(21deg, transparent 0 24%, rgba(185, 197, 212, 0.26) 25%, rgba(143, 158, 178, 0.18) 26%, transparent 27%, transparent 58%, rgba(137, 152, 173, 0.16) 59%, transparent 60%, transparent 100%);
  background-size: 160% 160%, 185% 185%;
}

.services-panel::before {
  background:
    linear-gradient(118deg, transparent 0 8%, rgba(162, 176, 196, 0.24) 9%, rgba(122, 138, 161, 0.46) 10%, transparent 11%, transparent 28%, rgba(128, 143, 165, 0.34) 29%, transparent 30%, transparent 53%, rgba(214, 221, 230, 0.42) 54%, transparent 55%, transparent 100%),
    linear-gradient(34deg, transparent 0 18%, rgba(187, 198, 213, 0.26) 19%, rgba(143, 158, 178, 0.18) 20%, transparent 21%, transparent 46%, rgba(148, 163, 182, 0.16) 47%, transparent 48%, transparent 100%),
    linear-gradient(154deg, transparent 0 56%, rgba(204, 212, 223, 0.28) 57%, rgba(134, 149, 170, 0.18) 58%, transparent 59%, transparent 100%);
  background-size: 185% 185%, 175% 175%, 210% 210%;
}

.process-panel::before {
  background:
    linear-gradient(96deg, transparent 0 6%, rgba(151, 166, 187, 0.22) 7%, rgba(119, 136, 158, 0.44) 8%, transparent 9%, transparent 36%, rgba(126, 141, 164, 0.32) 37%, transparent 38%, transparent 64%, rgba(223, 228, 236, 0.42) 65%, transparent 66%, transparent 100%),
    linear-gradient(154deg, transparent 0 22%, rgba(190, 201, 216, 0.24) 23%, rgba(142, 157, 178, 0.18) 24%, transparent 25%, transparent 55%, rgba(144, 159, 180, 0.16) 56%, transparent 57%, transparent 100%);
  background-size: 180% 180%, 170% 170%;
}

.contact-card::before {
  background:
    linear-gradient(126deg, transparent 0 12%, rgba(163, 177, 196, 0.22) 13%, rgba(123, 139, 161, 0.42) 14%, transparent 15%, transparent 43%, rgba(135, 150, 172, 0.3) 44%, transparent 45%, transparent 72%, rgba(220, 225, 234, 0.44) 73%, transparent 74%, transparent 100%),
    linear-gradient(18deg, transparent 0 26%, rgba(190, 200, 214, 0.24) 27%, rgba(144, 159, 179, 0.18) 28%, transparent 29%, transparent 61%, rgba(147, 162, 183, 0.16) 62%, transparent 63%, transparent 100%);
  background-size: 170% 170%, 190% 190%;
}

.service-card:nth-child(odd):not(.granite-card)::before {
  background:
    linear-gradient(142deg, transparent 0 11%, rgba(154, 169, 189, 0.22) 12%, rgba(121, 137, 159, 0.42) 13%, transparent 14%, transparent 40%, rgba(128, 144, 166, 0.3) 41%, transparent 42%, transparent 67%, rgba(217, 223, 232, 0.4) 68%, transparent 69%, transparent 100%),
    linear-gradient(42deg, transparent 0 20%, rgba(190, 200, 214, 0.24) 21%, rgba(144, 159, 179, 0.16) 22%, transparent 23%, transparent 50%, rgba(145, 160, 180, 0.14) 51%, transparent 52%, transparent 100%);
  background-size: 155% 155%, 175% 175%;
}

.telegram-btn svg {
  width: 24px;
  height: 24px;
  fill: #505866;
  transform: translateX(0.5px);
}

.telegram-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(96, 109, 129, 0.22);
}

.btn {
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background:
    linear-gradient(rgba(249, 251, 253, 0.84), rgba(249, 251, 253, 0.84)),
    url('../assets/marble.png?v=20260416-8') 45% 60%/420px auto repeat;
  color: #404753;
  box-shadow: 0 10px 22px rgba(111, 123, 142, 0.2);
  position: relative;
  overflow: hidden;
}

.btn.ghost {
  color: var(--accent);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(111, 123, 142, 0.18);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 120px;
  border-radius: 0 0 72px 72px;
  clip-path: inset(0 round 0 0 72px 72px);
  z-index: 2;
}

.hero-video {
  color: #f7f4f1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.19);
  transform-origin: center center;
  z-index: 0;
  pointer-events: none;
}

/* iOS Safari may render a big play glyph over background videos; hide WebKit controls. */
video.hero-bg::-webkit-media-controls {
  display: none !important;
}

video.hero-bg::-webkit-media-controls-panel {
  display: none !important;
}

video.hero-bg::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(18, 16, 14, 0.78) 0%, rgba(18, 16, 14, 0.45) 50%, rgba(18, 16, 14, 0.2) 100%);
  z-index: 1;
}

.hero-band-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.hero-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px dotted rgba(255, 255, 255, 0.45);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
  background: rgba(15, 18, 22, 0.38);
  backdrop-filter: blur(3px);
}

.hero-band-item {
  padding: 24px 24px 20px;
  border-left: 1px dotted rgba(255, 255, 255, 0.35);
}

.hero-band-item:first-child {
  border-left: none;
}

.hero-band-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.18;
  color: rgba(247, 244, 241, 0.96);
  font-weight: 600;
}

.hero-band-icon {
  display: inline-block;
  margin-bottom: 10px;
  color: #dfe6ee;
  font-size: 24px;
  line-height: 1;
}

.hero-band-item-accent {
  position: relative;
  background: linear-gradient(135deg, rgba(240, 244, 248, 0.3) 0%, rgba(202, 212, 225, 0.3) 100%);
}

.hero-band-gift-overlay {
  position: absolute;
  right: 44px;
  bottom: 8px;
  width: 56px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(11, 15, 21, 0.22));
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  margin-left: -110px;
}

.hero-card-placeholder {
  min-height: 360px;
}

.hero-ornament {
  display: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 16px;
}

h1 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(32px, 3.6vw, 48px);
  margin: 0 0 16px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  font-size: 14px;
}

.note-title {
  font-weight: 600;
  display: block;
}

.note-text {
  color: var(--muted);
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(45, 35, 28, 0.1);
}

.hero-video .hero-card {
  background: rgba(251, 250, 248, 0.9);
  border-color: rgba(251, 250, 248, 0.3);
}

.hero-video .lead,
.hero-video .note-text,
.hero-video .hero-card p,
.hero-video .hero-card small {
  color: rgba(247, 244, 241, 0.82);
}

.hero-video .hero-card {
  color: var(--ink);
}

.hero-video .note-title {
  color: #f7f4f1;
}

.hero-video .hero-card p,
.hero-video .hero-card small {
  color: #5b5550;
}

.hero-video .site-nav a {
  color: rgba(247, 244, 241, 0.75);
}

.hero-video .site-nav a:hover {
  color: #ffffff;
}

.site-header .site-nav {
  color: rgba(247, 244, 241, 0.78);
}

.site-header .site-nav a:hover {
  border-color: rgba(247, 244, 241, 0.95);
  color: #ffffff;
}

.site-header .btn.ghost {
  color: #ffffff;
  border-color: rgba(247, 244, 241, 0.45);
  background: rgba(18, 16, 14, 0.15);
}

.lead-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.lead-form input {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 14px;
}

.lead-form small {
  color: var(--muted);
}

.section {
  padding: 70px 0;
}

.section h2 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(30px, 3vw, 42px);
  margin-bottom: 32px;
}

#turnkey .wrap {
  width: min(2200px, 100vw);
}

#turnkey {
  padding: 12px 0 0;
}

.turnkey-panel {
  background:
    linear-gradient(rgba(15, 18, 23, 0.52), rgba(15, 18, 23, 0.52)),
    url('../assets/granit.png?v=20260416-8') center/520px auto repeat,
    linear-gradient(145deg, #111419 0%, #222832 100%);
  border: 1px solid rgba(107, 120, 137, 0.38);
  border-radius: 86px;
  box-shadow: none;
  padding: 44px 48px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.turnkey-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16) 0 0.6%, transparent 0.9%),
    radial-gradient(circle at 28% 64%, rgba(219, 227, 238, 0.14) 0 0.7%, transparent 1%),
    radial-gradient(circle at 54% 36%, rgba(149, 163, 181, 0.16) 0 0.8%, transparent 1.1%),
    radial-gradient(circle at 72% 74%, rgba(255, 255, 255, 0.12) 0 0.5%, transparent 0.9%),
    radial-gradient(circle at 84% 26%, rgba(184, 194, 209, 0.14) 0 0.7%, transparent 1%);
  background-size: 170px 170px, 210px 210px, 240px 240px, 190px 190px, 230px 230px;
  opacity: 0.7;
}

.turnkey-panel h2 {
  margin: 0 0 18px;
  max-width: 44ch;
  color: rgba(238, 243, 248, 0.97);
}

.turnkey-points {
  margin: 0;
  padding-left: 20px;
  max-width: 80ch;
  color: rgba(238, 243, 248, 0.9);
  font-size: 18px;
  line-height: 1.6;
}

.turnkey-points li + li {
  margin-top: 10px;
}

@media (max-width: 980px) {
  #turnkey .wrap {
    width: min(2200px, 100vw);
  }

  .turnkey-panel {
    border-radius: 30px;
    padding: 30px;
  }

  .turnkey-points {
    font-size: 16px;
  }
}

.services-panel {
  background:
    linear-gradient(rgba(252, 253, 255, 0.88), rgba(252, 253, 255, 0.88)),
    url('../assets/marble.png?v=20260416-8') 12% 24%/860px auto repeat;
  border-radius: 86px;
  padding: 42px;
  position: relative;
  overflow: hidden;
  z-index: 3;
  isolation: isolate;
}

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


#services .wrap {
  width: min(2200px, 100vw);
  position: relative;
  z-index: 2;
}

#constructor .wrap {
  width: min(2200px, 100vw);
}

#services {
  margin-top: 0;
  padding: 12px 0 0;
  position: relative;
  z-index: 1;
}

#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #e1e1e1;
  z-index: 0;
}

main {
  background: #e1e1e1;
}

#constructor {
  margin-top: -128px;
  background: transparent;
  position: relative;
  z-index: 2;
}

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

.card {
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url('../assets/marble.png?v=20260416-8') 30% 44%/560px auto repeat;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 18px;
}

.card h3 {
  margin-top: 0;
  font-size: 18px;
}

.card p {
  color: var(--muted);
}

.service-card {
  border-radius: 24px;
  padding: 22px;
  min-height: 186px;
  position: relative;
  overflow: hidden;
  transition: none;
}

.service-card:nth-child(odd) {
  background:
    linear-gradient(rgba(248, 250, 253, 0.84), rgba(248, 250, 253, 0.84)),
    url('../assets/marble.png?v=20260416-8') 68% 40%/620px auto repeat;
  border-color: #d1d8e2;
  box-shadow: 0 12px 30px rgba(111, 123, 142, 0.16);
  position: relative;
}

.service-card:nth-child(even) {
  background: #ffffff;
}

.service-card:nth-child(odd) h3,
.service-card:nth-child(odd) p {
  color: #39414d;
}

.service-card:nth-child(odd)::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 2px dotted rgba(146, 158, 176, 0.46);
  pointer-events: none;
}

.service-card.granite-card {
  background:
    linear-gradient(rgba(15, 18, 23, 0.5), rgba(15, 18, 23, 0.5)),
    url('../assets/granit.png?v=20260416-8') center/440px auto repeat,
    linear-gradient(145deg, #111419 0%, #222832 100%);
  border-color: rgba(107, 120, 137, 0.36);
  box-shadow: 0 14px 30px rgba(8, 12, 18, 0.34);
}

.service-card.granite-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.18) 0 0.6%, transparent 0.9%),
    radial-gradient(circle at 28% 64%, rgba(219, 227, 238, 0.16) 0 0.7%, transparent 1%),
    radial-gradient(circle at 54% 36%, rgba(149, 163, 181, 0.18) 0 0.8%, transparent 1.1%),
    radial-gradient(circle at 72% 74%, rgba(255, 255, 255, 0.14) 0 0.5%, transparent 0.9%),
    radial-gradient(circle at 84% 26%, rgba(184, 194, 209, 0.16) 0 0.7%, transparent 1%);
  background-size: 170px 170px, 210px 210px, 240px 240px, 190px 190px, 230px 230px;
  opacity: 0.55;
}

.service-card.granite-card h3,
.service-card.granite-card p {
  color: #eef3f8;
}

.service-card.granite-card::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px solid rgba(214, 222, 232, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.section.accent {
  background:
    linear-gradient(rgba(244, 247, 250, 0.8), rgba(244, 247, 250, 0.8)),
    url('../assets/marble.png?v=20260416-8') 18% 70%/1320px auto repeat,
    linear-gradient(180deg, #f2f5f8 0%, #e8edf3 100%);
}

.constructor-panel {
  background: linear-gradient(135deg, #1c242c 0%, #151d24 100%);
  border-radius: 86px;
  padding: 42px;
}

.constructor-panel h2 {
  color: #f3f5f7;
  margin-bottom: 12px;
}

.constructor-subtitle,
.constructor-panel .calc-form label {
  color: rgba(243, 245, 247, 0.88);
}

.constructor {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.constructor-main {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(243, 245, 247, 0.12);
  border-radius: 30px;
  padding: 26px;
}

.constructor-subtitle {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
}

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

.calc-form label {
  display: grid;
  gap: 7px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2px;
}

.calc-form select,
.calc-form input[type='number'] {
  border-radius: 12px;
  border: 1px solid rgba(243, 245, 247, 0.2);
  padding: 11px 12px;
  font-size: 14px;
  background: rgba(10, 14, 18, 0.42);
  color: #f7f9fa;
  outline: none;
}

.calc-form select:focus,
.calc-form input[type='number']:focus {
  border-color: rgba(168, 181, 199, 0.9);
  box-shadow: 0 0 0 3px rgba(217, 225, 235, 0.3);
}

.calc-form .inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 600;
  padding: 10px 12px;
  border: 1px solid rgba(243, 245, 247, 0.18);
  border-radius: 12px;
  background: rgba(10, 14, 18, 0.3);
}

.calc-form input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: #bcc7d5;
}

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

.constructor-summary {
  margin-top: 24px;
  display: grid;
  justify-content: end;
}

.constructor-actions {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 10px;
  width: min(560px, 100%);
}

.constructor-actions .btn {
  text-align: center;
  padding: 12px 16px;
  border-radius: 12px;
}

.constructor-space {
  min-height: 430px;
}

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

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.price-card .price {
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  counter-reset: step;
  padding: 0;
  perspective: 1200px;
}

.steps li {
  border-radius: 18px;
  position: relative;
  min-height: 138px;
  transform-style: preserve-3d;
  padding: 0;
  perspective: 1400px;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.steps li::after {
  content: none;
}

.steps li .step-badge,
.steps li::marker {
  display: none;
}

.steps li::before {
  content: none;
}

.steps li:hover {
  transform: translateY(-4px);
}

.step-card {
  position: relative;
  min-height: 138px;
  transform-style: preserve-3d;
  transition: transform 1.05s cubic-bezier(0.19, 0.9, 0.22, 1);
}

.steps li.is-flipped .step-card {
  transform: rotateY(180deg);
}

.steps li:not(.is-flipped):hover .step-card {
  transform: rotateY(180deg);
}

.step-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 18px 20px;
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.step-front {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.12) 0 0.35%, transparent 0.75%),
    radial-gradient(circle at 28% 64%, rgba(219, 227, 238, 0.1) 0 0.45%, transparent 0.85%),
    radial-gradient(circle at 54% 36%, rgba(149, 163, 181, 0.1) 0 0.5%, transparent 0.95%),
    radial-gradient(circle at 72% 74%, rgba(255, 255, 255, 0.08) 0 0.35%, transparent 0.8%),
    radial-gradient(circle at 84% 26%, rgba(184, 194, 209, 0.1) 0 0.45%, transparent 0.9%),
    linear-gradient(rgba(10, 12, 16, 0.62), rgba(10, 12, 16, 0.62)),
    url('../assets/granit.png?v=20260416-8') center/420px auto repeat,
    linear-gradient(165deg, #090b0f 0%, #1a2028 100%);
  border: 1px solid rgba(163, 177, 197, 0.28);
  box-shadow: 0 14px 30px rgba(5, 7, 11, 0.42);
  background-size: 170px 170px, 210px 210px, 240px 240px, 190px 190px, 230px 230px, auto, 420px auto, auto;
  color: rgba(238, 242, 245, 0.96);
}

.step-front::after,
.step-back::after {
  content: '↻';
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: auto;
  height: auto;
  display: block;
  font-size: 20px;
  font-family: inherit;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.step-front::after {
  color: rgba(255, 255, 255, 0.78);
}

.step-back {
  transform: rotateY(180deg);
  background:
    linear-gradient(rgba(250, 251, 253, 0.9), rgba(250, 251, 253, 0.9)),
    url('../assets/marble.png?v=20260416-8') 46% 38%/420px auto repeat;
  color: #3f4854;
  border: 1px solid rgba(206, 214, 224, 0.92);
  box-shadow:
    0 14px 30px rgba(112, 123, 142, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  text-align: center;
}

.step-back::after {
  color: rgba(22, 28, 35, 0.48);
}

.step-back::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    linear-gradient(128deg, transparent 0 12%, rgba(156, 170, 189, 0.22) 13%, rgba(123, 139, 162, 0.4) 14%, transparent 15%, transparent 46%, rgba(134, 149, 171, 0.26) 47%, transparent 48%, transparent 72%, rgba(220, 226, 234, 0.36) 73%, transparent 74%, transparent 100%),
    linear-gradient(34deg, transparent 0 22%, rgba(191, 201, 214, 0.22) 23%, rgba(145, 160, 181, 0.16) 24%, transparent 25%, transparent 58%, rgba(147, 162, 183, 0.12) 59%, transparent 60%, transparent 100%);
  background-size: 170% 170%, 180% 180%;
  pointer-events: none;
}

.step-back p,
.step-back .step-phase-label {
  position: relative;
  z-index: 1;
}

.step-phase {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.step-phase-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(196, 206, 218, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-back p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  max-width: 220px;
}

#process {
  margin-top: 42px;
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 0;
}

#process .wrap {
  width: min(2200px, 100vw);
  position: relative;
  z-index: 1;
  padding-bottom: 36px;
  background: transparent;
}

.process-panel {
  background:
    linear-gradient(rgba(8, 10, 14, 0.58), rgba(8, 10, 14, 0.58)),
    url('../assets/granit.png?v=20260416-8') 54% 30%/760px auto repeat,
    linear-gradient(145deg, #06070a 0%, #171c23 100%);
  border-radius: 86px;
  padding: 42px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(106, 120, 140, 0.28);
  box-shadow: 0 22px 40px rgba(6, 8, 12, 0.34);
  margin-top: -30px;
  margin-bottom: -30px;
  z-index: 3;
}

.process-panel h2 {
  color: #f3f6fa;
}

.contact {
  background: #e1e1e1;
  padding: 0;
}

.contact .wrap {
  width: min(2200px, 100vw);
  position: relative;
  background: #e1e1e1;
  padding-top: 0;
  padding-bottom: 0;
}

.contact-panel {
  background:
    linear-gradient(rgba(252, 253, 255, 0.88), rgba(252, 253, 255, 0.88)),
    url('../assets/marble.png?v=20260416-8') 12% 24%/860px auto repeat;
  border-radius: 86px 86px 0 0;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 7px;
  z-index: 1;
}

.contact-panel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 6px;
  background: #e1e1e1;
  z-index: 2;
}


.contact-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 8%, rgba(162, 176, 196, 0.24) 9%, rgba(122, 138, 161, 0.46) 10%, transparent 11%, transparent 28%, rgba(128, 143, 165, 0.34) 29%, transparent 30%, transparent 53%, rgba(214, 221, 230, 0.42) 54%, transparent 55%, transparent 100%),
    linear-gradient(34deg, transparent 0 18%, rgba(187, 198, 213, 0.26) 19%, rgba(143, 158, 178, 0.18) 20%, transparent 21%, transparent 46%, rgba(148, 163, 182, 0.16) 47%, transparent 48%, transparent 100%),
    linear-gradient(154deg, transparent 0 56%, rgba(204, 212, 223, 0.28) 57%, rgba(134, 149, 170, 0.18) 58%, transparent 59%, transparent 100%);
  background-size: 185% 185%, 175% 175%, 210% 210%;
}

.contact-info {
  display: grid;
  position: relative;
  z-index: 1;
  align-content: start;
}

.contact-card {
  background:
    linear-gradient(rgba(10, 12, 16, 0.6), rgba(10, 12, 16, 0.6)),
    url('../assets/granit.png?v=20260416-8') 48% 34%/620px auto repeat,
    linear-gradient(145deg, #07090d 0%, #171d24 100%);
  border: 1px solid rgba(119, 132, 150, 0.28);
  padding: 24px;
  border-radius: 20px;
  display: grid;
  gap: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 38px rgba(6, 8, 12, 0.3);
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.14) 0 0.5%, transparent 0.85%),
    radial-gradient(circle at 46% 72%, rgba(202, 212, 224, 0.12) 0 0.6%, transparent 0.95%),
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.1) 0 0.45%, transparent 0.82%);
  background-size: 190px 190px, 220px 220px, 210px 210px;
}

.contact-label {
  display: block;
  color: rgba(220, 228, 237, 0.74);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.contact-card a,
.contact-card span {
  color: #f1f5f9;
  position: relative;
  z-index: 1;
}

.site-header-static {
  position: relative;
  background: rgba(246, 248, 251, 0.9);
  border-bottom: 1px solid rgba(215, 222, 232, 0.65);
  backdrop-filter: blur(16px);
}

.site-header-static .site-nav {
  color: #525b68;
}

.site-header-static .site-nav a:hover {
  color: #22252b;
  border-color: rgba(121, 137, 159, 0.4);
}

/* "Square" / tablet-ish widths: undo the negative header offsets so items don't overlap. */
@media (min-width: 981px) and (max-width: 1180px) {
  .site-header-static .brand {
    margin-left: 0;
    margin-top: 0;
    height: auto;
  }

  .site-header-static .brand-logo-mark,
  .site-header-static .brand-logo-name {
    margin: 0;
  }

  .site-header-static .site-nav {
    margin-top: 0;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 16px;
  }

  .site-header-static .header-cta {
    margin-top: 0;
  }

  .stela-page .brand-logo-name {
    margin-left: 0;
    margin-top: 0;
  }

  .stela-page .site-nav {
    margin-left: 0;
  }
}

.stela-page {
  background:
    linear-gradient(#d5d5d5 0 190px, rgba(244, 247, 251, 0.9) 190px),
    url('../assets/marble.png?v=20260416-8') 36% 20%/1200px auto repeat,
    linear-gradient(180deg, #eef2f6 0%, #e3e9f0 100%);
}

.stela-page .site-header-static {
  left: 0;
  width: 100%;
  transform: none;
  background:
    linear-gradient(rgba(14, 17, 23, 0.34), rgba(14, 17, 23, 0.34)),
    url('../assets/granit.png?v=20260416-8') 48% 34%/620px auto repeat,
    linear-gradient(145deg, #11151b 0%, #242b34 100%);
  border-bottom: 1px solid rgba(110, 122, 140, 0.3);
  border-radius: 0 0 34px 34px;
  box-shadow: 0 18px 34px rgba(8, 11, 15, 0.2);
  backdrop-filter: none;
  overflow: hidden;
}

.stela-page .site-header-static .wrap {
  width: min(1200px, 92vw);
  background: transparent;
  overflow: visible;
}

.stela-page .brand-logo-name {
  margin-left: 22px;
  margin-top: -52px;
}

.stela-page .site-nav {
  color: rgba(238, 243, 248, 0.94);
  margin-left: 40px;
}

.stela-page .site-nav a:hover {
  color: #ffffff;
  border-color: rgba(233, 240, 247, 0.34);
}

.stela-page .site-header .wrap {
  padding: 28px 0 0;
}

.stela-main {
  background: #d5d5d5;
  padding: 0;
}

.stela-main-empty {
  min-height: calc(100vh - 150px);
}

.stela-page .stela-main-empty > .wrap {
  width: min(1200px, 92vw);
  max-width: none;
}

.stela-granite-card {
  min-height: calc(100vh - 190px);
  margin: 0 0 32px;
  border-radius: 44px 44px 0 0;
  border: 1px solid rgba(214, 220, 228, 0.9);
  box-shadow: 0 22px 48px rgba(111, 123, 142, 0.14);
  background:
    linear-gradient(rgba(252, 253, 255, 0.92), rgba(252, 253, 255, 0.92)),
    url('../assets/marble.png?v=20260416-8') center top/1400px auto repeat,
    linear-gradient(180deg, #f7f9fc 0%, #edf2f7 100%);
  overflow: hidden;
  position: relative;
  padding: 40px;
}

.stela-page:not(.constructor-page) .stela-main {
  padding-bottom: 0;
}

.stela-page:not(.constructor-page) .stela-granite-card {
  margin-bottom: 0;
}

.stela-granite-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(122deg, transparent 0 10%, rgba(170, 182, 198, 0.12) 11%, rgba(138, 153, 173, 0.18) 12%, transparent 13%, transparent 38%, rgba(170, 182, 198, 0.1) 39%, transparent 40%, transparent 68%, rgba(220, 226, 234, 0.3) 69%, transparent 70%, transparent 100%),
    linear-gradient(28deg, transparent 0 24%, rgba(191, 201, 214, 0.16) 25%, rgba(145, 160, 180, 0.09) 26%, transparent 27%, transparent 56%, rgba(151, 166, 186, 0.08) 57%, transparent 58%, transparent 100%);
  background-size: 175% 175%, 190% 190%;
  pointer-events: none;
}

.stela-marble-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #2d3742;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.stela-marble-subtitle {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 16px 0 0;
  color: #586473;
  font-size: 16px;
  line-height: 1.6;
}

.stela-block-menu-toggle {
  display: none;
}

.works-block-menu-toggle {
  display: none;
}

.stela-photo-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.stela-photo-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(72, 78, 86, 0.38);
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    url('../assets/marble.png?v=20260416-8') center/720px auto repeat;
  box-shadow:
    0 0 0 6px rgba(38, 42, 48, 0.08),
    0 0 18px rgba(82, 89, 98, 0.1),
    0 18px 30px rgba(117, 129, 148, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.stela-photo-tile:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 6px rgba(38, 42, 48, 0.08),
    0 0 18px rgba(82, 89, 98, 0.12),
    0 24px 36px rgba(117, 129, 148, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.stela-photo-tile:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(34, 39, 46, 0.18),
    0 0 0 8px rgba(38, 42, 48, 0.08),
    0 24px 36px rgba(117, 129, 148, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.stela-photo-tile-disabled {
  cursor: default;
}

.stela-photo-tile-disabled:hover {
  transform: none;
  box-shadow: none;
}

.stela-photo-tile-disabled .stela-photo-price {
  font-size: 13px;
  font-weight: 750;
  color: #2f3945;
  white-space: normal;
}

.stela-photo-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  padding: 14px;
  box-sizing: border-box;
  filter: drop-shadow(0 12px 22px rgba(75, 87, 104, 0.16));
}

.stela-photo-tile.is-c3 img {
  padding: 42px;
}

.stela-modal-media img[src$='C3.png'] {
  transform: scale(0.8);
  transform-origin: center;
}

.stela-photo-tag {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(206, 214, 224, 0.95);
  color: #485360;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stela-photo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stela-photo-price {
  color: #2f3945;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.stela-photo-price:empty {
  display: none;
}

.works-page .stela-photo-meta {
  display: none;
}

.works-page .stela-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.works-page .stela-photo-tile {
  padding: 0;
  border-radius: 28px;
}

.works-photo-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.works-page .stela-photo-tile img {
  padding: 0;
  border-radius: 28px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: none;
}

@media (max-width: 980px) {
  .works-page .stela-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .works-page .stela-photo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .works-page .stela-photo-tile,
  .works-page .stela-photo-tile img {
    border-radius: 22px;
  }
}

.stela-modal[hidden] {
  display: none;
}

.stela-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  padding: 28px;
  background: rgba(10, 13, 18, 0.54);
  backdrop-filter: blur(10px);
  /* Respect mobile browser UI (Chrome/Yandex). */
  top: var(--vv-top, 0px);
  left: 0;
  right: 0;
  bottom: auto;
  height: var(--vv-height, 100vh);
}

.stela-modal-dialog {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(var(--vv-height, 100vh) - 56px);
  margin: 0 auto;
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 420px);
  align-items: start;
  gap: 26px;
  padding: 28px;
  border-radius: 34px;
  border: 1px solid rgba(195, 203, 214, 0.9);
  background:
    linear-gradient(rgba(252, 253, 255, 0.96), rgba(252, 253, 255, 0.96)),
    url('../assets/marble.png?v=20260416-8') center top/1100px auto repeat;
  box-shadow: 0 24px 54px rgba(13, 17, 23, 0.24);
}

.stela-modal-media-wrap {
  display: grid;
  align-content: start;
  gap: 10px;
  align-self: start;
}

.stela-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(34, 39, 46, 0.9);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.stela-modal-close::after {
  content: '';
  position: absolute;
  inset: -10px;
}

.stela-modal-media {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 12px 14px;
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    url('../assets/marble.png?v=20260416-8') center/820px auto repeat;
  border: 1px solid rgba(206, 214, 224, 0.92);
}

.stela-modal-media img {
  display: block;
  width: 100%;
  max-width: 520px;
  max-height: 68vh;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 28px rgba(60, 70, 82, 0.2));
}

.stela-modal-desc {
  width: 100%;
  max-width: 520px;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.stela-modal-desc summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #0f151c;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.01em;
  text-transform: none;
}

.stela-modal-desc summary::-webkit-details-marker {
  display: none;
}

.stela-modal-desc summary::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 3px solid rgba(15, 21, 28, 0.78);
  border-bottom: 3px solid rgba(15, 21, 28, 0.78);
  transform: rotate(45deg);
  transition: transform 160ms ease;
  margin-left: auto;
  flex: none;
}

.stela-modal-desc[open] summary::after {
  transform: rotate(225deg);
}

.stela-modal-desc-body {
  padding: 8px 24px 0;
  color: #0f151c;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
}

.stela-modal-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
}

.stela-modal-order {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  border-color: rgba(121, 133, 150, 0.42) !important;
  color: #edf2f7 !important;
  background:
    linear-gradient(rgba(8, 10, 14, 0.7), rgba(8, 10, 14, 0.7)),
    url('../assets/granit.png?v=20260416-8') 48% 34%/440px auto repeat,
    linear-gradient(145deg, #0b0f14 0%, #1e252f 100%) !important;
  box-shadow: 0 12px 24px rgba(4, 7, 11, 0.38);
}

.stela-modal-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 48px;
}

.stela-modal-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(188, 197, 208, 0.95);
  background: rgba(255, 255, 255, 0.72);
  color: #313b46;
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.stela-modal-title {
  margin: 0;
  color: #232c36;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.stela-modal-price-row {
  display: grid;
  gap: 8px;
}

.stela-modal-price {
  color: #1f2832;
  font-size: 28px;
}

.stela-modal-price-note {
  color: #687483;
  font-size: 14px;
  line-height: 1.5;
}

.stela-modal-label {
  margin: 0;
  color: #3a4551;
  font-size: 15px;
  font-weight: 700;
}

.stela-modal-colors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 0;
  margin: 0;
  border: none;
  max-width: 270px;
}

.stela-color-card {
  display: grid;
  gap: 4px;
  align-content: start;
  cursor: pointer;
}

.stela-color-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.stela-color-card-swatch {
  display: block;
  padding: 0;
  border-radius: 10px;
  border: none;
  background: transparent;
  box-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.stela-color-card-swatch img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.stela-color-card-name {
  color: #41505f;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

.stela-color-card input:checked + .stela-color-card-swatch {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 3px rgba(68, 76, 86, 0.08),
    0 8px 14px rgba(111, 123, 142, 0.1);
}

.stela-color-card input:focus-visible + .stela-color-card-swatch {
  outline: 2px solid rgba(68, 76, 86, 0.28);
  outline-offset: 2px;
}

.stela-modal-materials {
  grid-template-columns: repeat(4, minmax(0, 84px));
  justify-content: start;
  gap: 7px;
  max-width: 360px;
}

.stela-modal-materials .stela-color-card {
  gap: 4px;
  justify-items: center;
}

.stela-modal-materials .stela-color-card-swatch {
  width: 84px;
  height: 84px;
  padding: 3px;
  border-radius: 12px;
  box-sizing: border-box;
}

.stela-modal-materials .stela-color-card-swatch img {
  border-radius: 8px;
  max-width: none;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.stela-modal-materials .stela-color-card-name {
  font-size: 11px;
  text-align: center;
}

.stela-modal-sizes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 4px 0 0;
  border: none;
  max-width: 320px;
}

.stela-size-pill {
  cursor: pointer;
}

.stela-size-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.stela-size-pill-face {
  display: grid;
  place-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(188, 197, 208, 0.95);
  background: rgba(255, 255, 255, 0.78);
  color: #1f2832;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  user-select: none;
}

.stela-size-pill input:checked + .stela-size-pill-face {
  transform: translateY(-1px);
  border-color: rgba(15, 21, 28, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(15, 21, 28, 0.12),
    0 0 0 3px rgba(68, 76, 86, 0.08),
    0 8px 14px rgba(111, 123, 142, 0.1);
}

.stela-size-pill input:focus-visible + .stela-size-pill-face {
  outline: 2px solid rgba(68, 76, 86, 0.28);
  outline-offset: 2px;
}

.stela-modal-options {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 4px 0 0;
  border: none;
}

.stela-modal-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(200, 208, 218, 0.96);
  background: rgba(255, 255, 255, 0.7);
  color: #33404c;
  font-weight: 600;
}

.stela-modal-check input {
  width: 18px;
  height: 18px;
  accent-color: #2c333b;
}

.stela-check-price {
  margin-left: auto;
  color: #0f151c;
  font-weight: 900;
  white-space: nowrap;
}

.stela-delivery-calc {
  margin-top: 8px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(200, 208, 218, 0.96);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(60, 70, 82, 0.08);
  display: grid;
  gap: 10px;
}

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

.stela-delivery-modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  max-width: 420px;
}

.stela-delivery-pill {
  cursor: pointer;
}

.stela-delivery-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.stela-delivery-pill-face {
  display: grid;
  place-items: center;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(188, 197, 208, 0.95);
  background: rgba(255, 255, 255, 0.8);
  color: #1f2832;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  user-select: none;
}

.stela-delivery-pill input:checked + .stela-delivery-pill-face {
  transform: translateY(-1px);
  border-color: rgba(15, 21, 28, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(15, 21, 28, 0.12),
    0 0 0 3px rgba(68, 76, 86, 0.08),
    0 8px 14px rgba(111, 123, 142, 0.1);
}

.stela-delivery-pill input:focus-visible + .stela-delivery-pill-face {
  outline: 2px solid rgba(68, 76, 86, 0.28);
  outline-offset: 2px;
}

.stela-delivery-km {
  display: grid;
  gap: 6px;
  max-width: 340px;
}

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

.stela-delivery-km span {
  color: #3f4c59;
  font-size: 12px;
  font-weight: 700;
}

.stela-delivery-km input {
  width: 100%;
  border: 1px solid rgba(198, 206, 217, 0.95);
  border-radius: 14px;
  padding: 11px 12px;
  font: inherit;
  color: #27313c;
  background: rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}

.stela-delivery-total {
  color: #34414e;
  font-size: 13px;
  font-weight: 650;
}

.stela-delivery-total strong {
  color: #1f2832;
}

.order-modal[hidden] {
  display: none;
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 12, 17, 0.52);
  backdrop-filter: blur(10px);
  animation: order-modal-fade 180ms ease-out;
  /* Respect mobile browser UI (Chrome/Yandex). */
  top: var(--vv-top, 0px);
  left: 0;
  right: 0;
  bottom: auto;
  height: var(--vv-height, 100vh);
}

.order-modal-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(var(--vv-height, 100vh) - 48px);
  overflow: auto;
  border-radius: 34px;
  border: 1px solid rgba(205, 214, 225, 0.9);
  box-shadow: 0 24px 54px rgba(8, 12, 16, 0.24);
  background:
    linear-gradient(rgba(252, 253, 255, 0.96), rgba(252, 253, 255, 0.96)),
    url('../assets/marble.png?v=20260416-8') center top/1100px auto repeat;
  transform-origin: 50% 50%;
  animation: order-modal-pop 220ms ease-out;
}

.order-modal-content {
  padding: 34px;
}

.order-modal-success-state .order-modal-content {
  display: grid;
  align-items: center;
  min-height: min(300px, calc(var(--vv-height, 100vh) - 140px));
}

.order-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(28, 34, 42, 0.88);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.order-modal-close::after {
  content: '';
  position: absolute;
  inset: -10px;
}

.order-modal-close[hidden] {
  display: none;
}

.order-modal-title {
  margin: 0;
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 0.95;
  color: #1f2832;
}

.order-modal-subtitle {
  margin: 12px 0 0;
  color: #5f6c7b;
  font-size: 16px;
  line-height: 1.5;
  max-width: 640px;
}

.order-modal-form {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.order-modal-form[hidden],
.order-success[hidden] {
  display: none;
}

.order-field {
  display: grid;
  gap: 8px;
}

.order-field span {
  color: #3f4c59;
  font-size: 14px;
  font-weight: 600;
}

.order-field input,
.order-field select,
.order-field textarea {
  width: 100%;
  border: 1px solid rgba(198, 206, 217, 0.95);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: #27313c;
  background: rgba(255, 255, 255, 0.86);
  box-sizing: border-box;
}

.order-field textarea {
  resize: vertical;
  min-height: 92px;
}

.order-field-full {
  grid-column: 1 / -1;
}

.order-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4b5867;
  font-size: 14px;
}

.order-consent input {
  width: 18px;
  height: 18px;
  accent-color: #2e3742;
}

.order-policy {
  margin-top: -4px;
  font-size: 13px;
  color: #6a7786;
}

.order-policy a {
  text-decoration: underline;
  text-decoration-color: rgba(106, 119, 134, 0.45);
  text-underline-offset: 3px;
}

.order-policy a:hover {
  color: #1f2832;
  text-decoration-color: rgba(31, 40, 50, 0.55);
}

.order-modal-status {
  min-height: 18px;
  margin-top: -2px;
  font-size: 13px;
  color: #6a7786;
}

.order-modal-status.is-error {
  color: #b42318;
}

.order-modal-status.is-success {
  color: #0f6f3e;
}

.order-submit {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: center;
  padding: 14px 18px;
  border-color: rgba(121, 133, 150, 0.42) !important;
  color: #edf2f7 !important;
  background:
    linear-gradient(rgba(8, 10, 14, 0.7), rgba(8, 10, 14, 0.7)),
    url('../assets/granit.png?v=20260416-8') 48% 34%/440px auto repeat,
    linear-gradient(145deg, #0b0f14 0%, #1e252f 100%) !important;
  box-shadow: 0 12px 24px rgba(4, 7, 11, 0.38);
}

.order-submit:disabled {
  opacity: 0.55;
  filter: grayscale(0.25);
  cursor: not-allowed;
  box-shadow: none;
}

.order-submit:disabled:hover {
  transform: none;
}

.order-success {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.order-modal-success-state .order-success {
  margin-top: 0;
  align-content: center;
  padding: 0;
}

.order-success h3 {
  margin: 0;
  color: #1f2832;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.06;
}

.order-success p {
  margin: 0;
  color: #4f5d6b;
  font-size: 17px;
  line-height: 1.35;
}

.order-success-close {
  width: 100%;
  justify-content: center;
  margin-top: 0;
  border-color: rgba(121, 133, 150, 0.42) !important;
  color: #edf2f7 !important;
  background:
    linear-gradient(rgba(8, 10, 14, 0.7), rgba(8, 10, 14, 0.7)),
    url('../assets/granit.png?v=20260416-8') 48% 34%/440px auto repeat,
    linear-gradient(145deg, #0b0f14 0%, #1e252f 100%) !important;
  box-shadow: 0 12px 24px rgba(4, 7, 11, 0.38);
}

.order-success-close::before {
  display: none;
}

.order-submit::before {
  display: none;
}

.mobile-order-cta {
  display: none;
}

@keyframes order-modal-fade {
  from {
    background: rgba(9, 12, 17, 0);
  }
  to {
    background: rgba(9, 12, 17, 0.52);
  }
}

@keyframes order-modal-pop {
  from {
    opacity: 0;
    transform: translate(var(--order-from-x, 0), var(--order-from-y, 12px)) scale(0.18);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

.stela-page .stela-main > .wrap {
  width: calc(100vw - 2px);
  max-width: none;
}

.stela-catalog-panel {
  background:
    linear-gradient(rgba(252, 253, 255, 0.96), rgba(252, 253, 255, 0.96)),
    url('../assets/marble.png?v=20260416-8') center top/1400px auto repeat;
  border: 1px solid rgba(215, 222, 232, 0.8);
  border-radius: 44px;
  box-shadow: 0 18px 42px rgba(111, 123, 142, 0.12);
  overflow: hidden;
  padding: 40px;
}

.stela-hero {
  padding: 0;
  background: transparent;
}

.stela-hero-panel,
.stela-filters,
.stela-grid,
.stela-cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(215, 222, 232, 0.8);
  box-shadow: 0 18px 42px rgba(111, 123, 142, 0.12);
}

.stela-hero-panel,
.stela-filters,
.stela-cta-panel {
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.stela-hero-panel::before,
.stela-filters::before,
.stela-card.marble-shape::before,
.stela-cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(122deg, transparent 0 10%, rgba(165, 179, 199, 0.18) 11%, rgba(124, 141, 164, 0.34) 12%, transparent 13%, transparent 38%, rgba(130, 146, 170, 0.24) 39%, transparent 40%, transparent 68%, rgba(220, 226, 234, 0.38) 69%, transparent 70%, transparent 100%),
    linear-gradient(28deg, transparent 0 24%, rgba(191, 201, 214, 0.2) 25%, rgba(145, 160, 180, 0.14) 26%, transparent 27%, transparent 56%, rgba(151, 166, 186, 0.12) 57%, transparent 58%, transparent 100%);
  background-size: 175% 175%, 190% 190%;
}

.stela-hero-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  padding: 0;
}

.stela-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(187, 198, 213, 0.9);
  color: #4e5866;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.72);
}

.stela-hero h1,
.stela-gallery h2,
.stela-cta-panel h2 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
}

.stela-hero h1 {
  font-size: clamp(40px, 4.4vw, 72px);
  line-height: 1;
  margin: 18px 0 18px;
}

.stela-hero p {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.65;
  color: #5f6977;
  margin: 0 0 24px;
}

.stela-hero-actions,
.stela-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.stela-highlight {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(214, 221, 231, 0.86);
  border-radius: 24px;
  padding: 18px;
}

.stela-highlight strong {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
}

.stela-highlight span {
  color: #5c6673;
  font-size: 14px;
  line-height: 1.45;
}

.stela-hero-preview {
  display: grid;
  gap: 18px;
}

.stela-hero-card,
.stela-hero-slab {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 220px;
  border: 1px solid rgba(205, 214, 225, 0.85);
}

.stela-hero-card {
  background:
    linear-gradient(rgba(252, 253, 255, 0.88), rgba(252, 253, 255, 0.88)),
    url('../assets/marble.png?v=20260416-8') 44% 24%/760px auto repeat;
  padding: 26px;
}

.stela-hero-card::before,
.stela-hero-slab::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stela-hero-card::before {
  background:
    linear-gradient(138deg, transparent 0 10%, rgba(168, 181, 198, 0.2) 11%, rgba(121, 139, 162, 0.34) 12%, transparent 13%, transparent 43%, rgba(132, 147, 168, 0.24) 44%, transparent 45%, transparent 76%, rgba(220, 226, 234, 0.34) 77%, transparent 78%, transparent 100%);
  background-size: 180% 180%;
}

.stela-hero-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 30px;
}

.stela-hero-card p,
.stela-hero-card ul {
  position: relative;
  z-index: 1;
  color: #5b6573;
}

.stela-hero-card ul {
  padding-left: 18px;
  margin: 0;
  display: grid;
  gap: 10px;
}

.stela-hero-slab {
  background:
    linear-gradient(rgba(14, 18, 24, 0.3), rgba(14, 18, 24, 0.3)),
    url('../assets/granit.png?v=20260416-8') 52% 34%/540px auto repeat,
    linear-gradient(145deg, #11151b 0%, #242c37 100%);
}

.stela-hero-slab::before {
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.14) 0 0.5%, transparent 0.85%),
    radial-gradient(circle at 62% 48%, rgba(195, 205, 217, 0.14) 0 0.65%, transparent 1%),
    radial-gradient(circle at 80% 22%, rgba(255, 255, 255, 0.12) 0 0.45%, transparent 0.8%);
  background-size: 180px 180px, 220px 220px, 210px 210px;
}

.stela-hero-slab-inner {
  position: absolute;
  inset: 22px;
  border-radius: 24px;
  border: 1px solid rgba(221, 228, 237, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.stela-filters {
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 20px 0 34px;
}

.stela-filters span {
  color: #5d6774;
  font-weight: 600;
  margin-right: 4px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(199, 207, 218, 0.95);
  background: rgba(255, 255, 255, 0.74);
  color: #47515e;
  font-size: 14px;
  font-weight: 600;
}

.filter-chip-active {
  background:
    linear-gradient(rgba(248, 250, 253, 0.9), rgba(248, 250, 253, 0.9)),
    url('../assets/marble.png?v=20260416-8') 40% 50%/260px auto repeat;
}

.stela-gallery h2 {
  font-size: clamp(34px, 3.2vw, 48px);
  margin: 0 0 24px;
}

.stela-gallery {
  background: transparent;
  padding: 28px 0 0;
}

.stela-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.stela-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 34px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.stela-image-card {
  background:
    linear-gradient(rgba(251, 252, 254, 0.94), rgba(251, 252, 254, 0.94)),
    url('../assets/marble.png?v=20260416-8') 44% 36%/760px auto repeat;
  border: 1px solid rgba(211, 219, 228, 0.9);
  box-shadow: 0 18px 36px rgba(117, 129, 148, 0.12);
  justify-content: space-between;
  gap: 18px;
}

.stela-image-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 22px rgba(55, 66, 82, 0.18));
}

.stela-card.marble-shape {
  background:
    linear-gradient(rgba(251, 252, 254, 0.88), rgba(251, 252, 254, 0.88)),
    url('../assets/marble.png?v=20260416-8') 44% 36%/760px auto repeat;
  border: 1px solid rgba(211, 219, 228, 0.9);
  box-shadow: 0 18px 36px rgba(117, 129, 148, 0.12);
}

.stela-card.granite-shape {
  background:
    linear-gradient(rgba(16, 19, 25, 0.42), rgba(16, 19, 25, 0.42)),
    url('../assets/granit.png?v=20260416-8') 48% 34%/620px auto repeat,
    linear-gradient(145deg, #11151b 0%, #242b34 100%);
  border: 1px solid rgba(110, 122, 140, 0.36);
  box-shadow: 0 20px 36px rgba(8, 11, 15, 0.32);
}

.stela-card.marble-shape::before {
  background:
    linear-gradient(124deg, transparent 0 8%, rgba(156, 170, 189, 0.24) 9%, rgba(124, 141, 164, 0.42) 10%, transparent 11%, transparent 44%, rgba(133, 149, 171, 0.3) 45%, transparent 46%, transparent 72%, rgba(222, 228, 235, 0.4) 73%, transparent 74%, transparent 100%),
    linear-gradient(32deg, transparent 0 22%, rgba(190, 200, 214, 0.24) 23%, rgba(145, 160, 181, 0.18) 24%, transparent 25%, transparent 60%, rgba(147, 162, 183, 0.14) 61%, transparent 62%, transparent 100%);
  background-size: 170% 170%, 185% 185%;
}

.stela-card.granite-shape::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.14) 0 0.45%, transparent 0.8%),
    radial-gradient(circle at 44% 72%, rgba(207, 217, 229, 0.12) 0 0.55%, transparent 0.95%),
    radial-gradient(circle at 78% 30%, rgba(255, 255, 255, 0.12) 0 0.4%, transparent 0.8%);
  background-size: 190px 190px, 220px 220px, 210px 210px;
}

.shape-arch::after,
.shape-wave::after,
.shape-cross::after,
.shape-classic::after,
.shape-double::after,
.shape-book::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 54px;
  transform: translateX(-50%);
  width: 170px;
  height: 220px;
  border: 10px solid rgba(245, 248, 251, 0.95);
  box-shadow:
    0 18px 28px rgba(95, 108, 128, 0.14),
    inset 0 0 0 2px rgba(126, 143, 165, 0.18);
  background:
    linear-gradient(rgba(250, 252, 254, 0.82), rgba(250, 252, 254, 0.82)),
    url('../assets/marble.png?v=20260416-8') 46% 36%/520px auto repeat;
}

.shape-arch::after {
  border-radius: 92px 92px 20px 20px;
}

.shape-wave::after {
  border-radius: 64px 22px 30px 30px;
  clip-path: polygon(0 14%, 18% 0, 100% 0, 100% 100%, 0 100%);
}

.shape-cross::after {
  width: 156px;
  height: 232px;
  clip-path: polygon(36% 0, 64% 0, 64% 16%, 84% 16%, 84% 38%, 64% 38%, 64% 100%, 36% 100%, 36% 38%, 16% 38%, 16% 16%, 36% 16%);
}

.shape-classic::after {
  border-radius: 22px 22px 18px 18px;
}

.shape-double::after {
  width: 214px;
  border-radius: 86px 86px 20px 20px;
}

.shape-book::after {
  width: 196px;
  border-radius: 18px 72px 18px 72px;
}

.stela-card.granite-shape.shape-arch::after,
.stela-card.granite-shape.shape-wave::after,
.stela-card.granite-shape.shape-cross::after,
.stela-card.granite-shape.shape-classic::after,
.stela-card.granite-shape.shape-double::after,
.stela-card.granite-shape.shape-book::after {
  border-color: rgba(221, 228, 237, 0.95);
  box-shadow:
    0 18px 30px rgba(8, 12, 16, 0.32),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(rgba(20, 24, 30, 0.3), rgba(20, 24, 30, 0.3)),
    url('../assets/granit.png?v=20260416-8') 48% 34%/440px auto repeat,
    linear-gradient(145deg, #161b22 0%, #2a313b 100%);
}

.stela-card h3,
.stela-card p,
.stela-card-meta {
  position: relative;
  z-index: 1;
}

.stela-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.stela-card p {
  margin: 0 0 14px;
  line-height: 1.55;
}

.stela-card.marble-shape h3,
.stela-card.marble-shape p,
.stela-card.marble-shape .stela-card-meta {
  color: #3f4956;
}

.stela-card.granite-shape h3,
.stela-card.granite-shape p,
.stela-card.granite-shape .stela-card-meta {
  color: #eef3f8;
}

.stela-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stela-card-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.stela-card.marble-shape .stela-card-meta span {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(205, 214, 224, 0.86);
}

.stela-card.granite-shape .stela-card-meta span {
  background: rgba(243, 247, 251, 0.12);
  border: 1px solid rgba(210, 219, 229, 0.18);
}

.stela-cta {
  padding-top: 36px;
}

.stela-cta-panel {
  padding: 34px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.stela-cta-panel p {
  max-width: 680px;
  margin: 12px 0 0;
  color: #5d6774;
  line-height: 1.6;
}

.constructor-page-section {
  padding-top: 0;
}

.constructor-summary-page {
  justify-content: stretch;
  gap: 18px;
}

.constructor-price-card {
  background:
    linear-gradient(rgba(250, 251, 253, 0.9), rgba(250, 251, 253, 0.9)),
    url('../assets/marble.png?v=20260416-8') 34% 28%/420px auto repeat;
  border: 1px solid rgba(211, 219, 229, 0.82);
  border-radius: 20px;
  padding: 18px 20px;
  color: #3e4754;
  box-shadow: 0 12px 24px rgba(102, 115, 134, 0.16);
}

.constructor-price-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #67717e;
  margin-bottom: 8px;
}

.constructor-price-card strong {
  font-size: clamp(28px, 3vw, 42px);
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
}

.constructor-space-panel {
  display: grid;
  align-items: stretch;
}

.constructor-space-inner {
  min-height: 430px;
  border-radius: 34px;
  background:
    linear-gradient(rgba(18, 22, 28, 0.38), rgba(18, 22, 28, 0.38)),
    url('../assets/granit.png?v=20260416-8') 48% 28%/620px auto repeat,
    linear-gradient(145deg, #171d24 0%, #262e39 100%);
  border: 1px solid rgba(130, 142, 158, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.site-footer {
  background:
    linear-gradient(rgba(9, 11, 15, 0.68), rgba(9, 11, 15, 0.68)),
    url('../assets/granit.png?v=20260416-8') 48% 34%/540px auto repeat,
    linear-gradient(145deg, #06080c 0%, #171c23 100%);
  border-top: 1px solid rgba(122, 136, 155, 0.24);
  margin-top: -6px;
  padding: 10px 0 12px;
  font-size: 14px;
  color: rgba(234, 240, 246, 0.82);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 6px;
}

.site-footer .wrap > :last-child {
  margin-top: 10px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background:
    linear-gradient(rgba(10, 12, 16, 0.64), rgba(10, 12, 16, 0.64)),
    url('../assets/granit.png?v=20260416-8') 48% 34%/240px auto repeat,
    linear-gradient(145deg, #07090d 0%, #171d24 100%);
  border: 1px solid rgba(128, 141, 159, 0.26);
  color: #edf2f7;
  font-size: 12px;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 20px rgba(7, 10, 14, 0.18);
}

@media (min-width: 2200px) {
  .wrap {
    width: min(1680px, 88vw);
  }

  .site-header .wrap {
    gap: 34px;
    padding: 34px 0;
  }

  .site-nav {
    gap: 24px;
    font-size: 17px;
  }

  .brand-logo-mark {
    height: 268px;
  }

  .brand-logo-name {
    height: 198px;
  }

  .home-page .brand-logo-mark {
    height: 232px;
  }

  .home-page .brand-logo-name {
    height: 176px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 16px;
  }

  .hero {
    padding: 178px 0 138px;
  }

  .hero .wrap {
    gap: 72px;
  }

  .hero-content {
    margin-left: -60px;
  }

  h1 {
    font-size: clamp(54px, 3.2vw, 72px);
    line-height: 1.12;
  }

  .hero-band-item {
    padding: 28px 26px 24px;
  }

  .hero-band-item p {
    font-size: 17px;
  }

  .hero-band-icon {
    font-size: 26px;
  }

  .hero-card-placeholder {
    min-height: 430px;
  }

  .turnkey-panel,
  .services-panel,
  .constructor-panel,
  .process-panel,
  .stela-hero-panel,
  .stela-filters,
  .stela-cta-panel {
    padding: 56px;
  }

  #turnkey,
  #services {
    padding-top: 18px;
  }

  .card h3 {
    font-size: 22px;
  }

  .card p {
    font-size: 17px;
  }
}

@media (min-width: 1600px) and (min-aspect-ratio: 16/9) and (max-aspect-ratio: 21/10) {
  .home-page .hero {
    padding-bottom: 520px;
  }

  .home-page .hero-content {
    margin-left: -360px;
    transform: translateY(300px);
  }

  .home-page .hero-band-wrap {
    bottom: 0;
  }

  #turnkey .wrap,
  #services .wrap,
  #process .wrap,
  .contact .wrap {
    width: calc(100vw - 20px);
    max-width: none;
  }

  .turnkey-panel,
  .services-panel,
  .process-panel,
  .contact-panel {
    padding: 54px;
  }

  .grid-3 {
    gap: 24px;
  }

  .steps {
    gap: 24px;
  }

  .contact-panel {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 40px;
  }

  .stela-page .header-cta {
    justify-self: end;
    transform: translateX(100px);
  }
}

@media (max-width: 980px) {
  body.stela-modal-open {
    overflow: hidden;
  }

  .site-header .wrap {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .brand-logo-mark {
    height: 172px;
  }

  .brand-logo-name {
    height: 130px;
  }

  .home-page .brand-logo-mark {
    height: 156px;
  }

  .home-page .brand-logo-name {
    height: 118px;
  }

  .hero .wrap,
  .constructor,
  .contact-panel,
  .stela-hero-panel,
  .stela-cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-card {
    order: -1;
  }

  .grid-3,
  .price-grid,
  .steps,
  .stela-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stela-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stela-modal {
    padding: 18px;
  }

  .stela-modal-dialog {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
    border-radius: 26px;
  }

  .stela-modal-media {
    min-height: 260px;
  }

  .stela-modal-colors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero-band-item {
    padding: 24px 20px;
  }

  .hero-band-item:nth-child(odd) {
    border-left: none;
  }

  .services-panel {
    border-radius: 30px;
    padding: 30px;
  }

  .turnkey-panel {
    border-radius: 30px;
    padding: 30px;
  }

  .stela-hero-panel,
  .stela-filters,
  .stela-cta-panel {
    border-radius: 30px;
    padding: 30px;
  }

  .constructor-panel {
    border-radius: 30px;
    padding: 30px;
  }

  .process-panel {
    border-radius: 30px 30px 0 0;
    padding: 30px;
  }

  .contact-panel {
    border-radius: 30px 30px 0 0;
    padding: 30px;
  }

  .constructor-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

}

@media (max-width: 640px) {
  .site-footer {
    padding: 10px 0 12px;
  }

  .site-footer .wrap > :last-child {
    display: none;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body.stela-modal-open {
    overflow: hidden;
  }

  body.order-modal-open {
    overflow: hidden;
  }

  .home-page .site-header {
    top: 0;
  }

  .home-page .site-header .wrap {
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 18px 18px 0;
  }

  .home-page .brand {
    margin: 0 0 0 -10px;
    height: auto;
    gap: 10px;
    transform: translateY(-20px);
  }

  .home-page .brand-logo-mark {
    height: 126px;
    margin: 0;
  }

  .home-page .brand-logo-name {
    height: 102px;
    margin: 0 0 0 -10px;
  }

  .home-page .brand-logo-mark {
    height: 126px;
    margin-top: 0;
  }

  .home-page .brand-logo-name {
    height: 102px;
    margin-top: 0;
    margin-left: -34px;
  }

  .home-page .site-nav,
  .home-page .header-cta {
    display: none;
  }

  .home-page .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: end;
    padding-top: 4px;
  }

  .stela-page .site-header-static {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .stela-page .site-header-static .wrap {
    width: calc(100vw - 24px);
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 14px 0 0;
  }

  .stela-page .brand,
  .stela-page .site-nav,
  .stela-page .header-cta {
    display: none;
  }

  .stela-page .mobile-header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    padding-top: 2px;
  }

  .stela-page .mobile-header-actions {
    display: none;
  }

  .stela-block-menu-toggle {
    display: grid;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    transform: none;
  }

  .works-block-menu-toggle {
    display: grid;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    transform: none;
  }

  .mobile-menu-toggle {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: inherit;
    background: transparent;
    gap: 5px;
    box-shadow: none;
    padding: 0;
    transform: translateY(2px);
  }

  .mobile-menu-toggle span {
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    display: block;
  }

  .home-page .mobile-menu-toggle {
    color: #ffffff;
  }

  .stela-page .mobile-menu-toggle {
    color: #10161d;
  }

  .mobile-nav-drawer[hidden] {
    display: none;
  }

  .mobile-nav-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(6, 10, 14, 0.46);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .mobile-nav-drawer.mobile-nav-drawer-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-panel {
    margin-left: auto;
    width: min(84vw, 340px);
    height: calc(100svh - 16px);
    margin: 8px 0 8px auto;
    background:
      linear-gradient(rgba(16, 20, 25, 0.95), rgba(16, 20, 25, 0.95)),
      url('../assets/granit.png?v=20260416-8') 48% 34%/460px auto repeat,
      linear-gradient(145deg, #161b22 0%, #232a34 100%);
    color: #fff;
    padding: 0 22px 30px;
    display: flex;
    flex-direction: column;
    border-radius: 26px 0 0 26px;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 240ms ease;
    position: relative;
  }

  .mobile-nav-drawer.mobile-nav-drawer-open .mobile-nav-panel {
    transform: translateX(0);
  }

  .mobile-nav-close {
    position: absolute;
    top: 16px;
    right: 10px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 46px;
    line-height: 1;
    padding: 0;
    margin: 0;
    z-index: 6;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-close::after {
    content: '';
    position: absolute;
    inset: -12px;
  }

  .mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 12px;
    transform: none;
    margin-left: -38px;
  }

  .mobile-nav-logo {
    width: 137px;
    height: 137px;
    object-fit: contain;
    margin-top: -30px;
  }

  .mobile-nav-name {
    width: 138px;
    height: auto;
    margin-left: -50px;
    margin-top: -24px;
  }

  .mobile-nav-links {
    display: grid;
    gap: 18px;
    font-size: 20px;
    font-weight: 700;
    margin-top: -14px;
  }

  .mobile-nav-cta {
    margin-top: auto;
    justify-content: center;
    text-align: center;
    padding: 10px 12px !important;
    font-size: 12px !important;
    line-height: 1.1;
    color: #404753;
    letter-spacing: 0.01em;
    background:
      linear-gradient(rgba(249, 251, 253, 0.92), rgba(249, 251, 253, 0.92)),
      url('../assets/marble.png?v=20260416-8') 45% 60%/420px auto repeat;
    border: 1px solid rgba(215, 222, 232, 0.8);
    box-shadow: 0 10px 22px rgba(111, 123, 142, 0.2);
  }

  .hero-bg {
    transform: scale(1.02);
  }

  .hero-actions {
    flex-direction: row;
  }

  .grid-3,
  .price-grid,
  .steps,
  .stela-grid {
    grid-template-columns: 1fr;
  }

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

  .stela-granite-card {
    padding: 22px;
    border-radius: 28px 28px 0 0;
  }

  .stela-photo-tile {
    padding: 12px;
    border-radius: 18px;
  }

  .stela-photo-tile img {
    border-radius: 14px;
    padding: 10px;
  }

  .stela-modal {
    padding: 10px;
  }

  .stela-modal-dialog {
    max-height: calc(var(--vv-height, 100vh) - 20px);
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
  }

  .stela-modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .stela-modal-media {
    min-height: 260px;
    padding: 12px 14px;
    border-radius: 22px;
  }

  .stela-modal-content {
    gap: 14px;
    padding-top: 4px;
  }

  .stela-modal-price {
    font-size: 24px;
  }

  .stela-modal-check {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .stela-modal-colors {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stela-color-card {
    grid-template-columns: 82px 1fr;
    align-items: center;
    gap: 12px;
  }

  .stela-color-card-swatch {
    padding: 8px;
    border-radius: 18px;
  }

  .stela-color-card-swatch img {
    border-radius: 12px;
  }

  .hero {
    /* Keep hero height stable even when browser UI shows/hides (Chrome/Yandex/iOS). */
    min-height: 100vh;
    height: 100vh;
    min-height: 100svh;
    height: 100svh;
    padding: 132px 0 28px;
    border-radius: 0 0 42px 42px;
    clip-path: inset(0 round 0 0 42px 42px);
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 9, 11, 0.56) 0%, rgba(8, 9, 11, 0.28) 35%, rgba(8, 9, 11, 0.54) 100%);
  }

  .hero .wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    min-height: auto;
    padding: 0 18px;
  }

  .hero-content {
    display: none;
  }

  .hero-card-placeholder {
    display: none;
  }

  .hero-band-wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    transform: translateY(0);
    transition: transform 220ms ease;
  }

  .home-page.hero-band-hidden .hero-band-wrap {
    transform: translateY(110%);
  }

  .mobile-order-cta {
    display: flex;
    width: fit-content;
    max-width: min(84vw, 280px);
    margin: 0 0 10px 18px;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
  }

  .hero-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px dotted rgba(255, 255, 255, 0.28);
    border-radius: 0 0 42px 42px;
    overflow: hidden;
    /* iOS Safari can "jitter" layers with backdrop-filter while scrolling. */
    background: rgba(15, 18, 22, 0.52);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    /* Keep content away from the home indicator area on iOS. */
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateZ(0);
  }

  .hero-band-item {
    min-height: 84px;
    border-left: 1px dotted rgba(255, 255, 255, 0.24);
    border-top: 1px dotted rgba(255, 255, 255, 0.24);
    padding: 8px 10px 9px;
    display: grid;
    grid-template-rows: auto 1fr;
    align-content: start;
    justify-items: start;
    box-sizing: border-box;
  }

  .hero-band-item:first-child {
    border-top: none;
  }

  .hero-band-item:nth-child(2) {
    border-top: none;
  }

  .hero-band-item:nth-child(odd) {
    border-left: none;
  }

  .hero-band-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.12;
    text-align: left;
  }

  .hero-band-icon {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1;
    color: #dfe6ee;
  }

  .hero-band-item-accent {
    background: linear-gradient(135deg, rgba(240, 244, 248, 0.3) 0%, rgba(202, 212, 225, 0.3) 100%);
  }

  .hero-band-item-accent p {
    color: rgba(247, 244, 241, 0.96);
    text-shadow: none;
  }

  .hero-band-item-accent .hero-band-icon {
    color: #dfe6ee;
  }

  .hero-band-gift-overlay {
    width: 44px;
    right: 10px;
    bottom: 6px;
  }

  .hero-band-item-accent p {
    padding-right: 46px;
  }

  #turnkey,
  #services {
    padding-top: 8px;
  }

  .turnkey-panel {
    border-radius: 22px;
    padding: 22px;
  }

  .turnkey-panel h2 {
    font-size: 28px;
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .turnkey-points {
    padding-left: 18px;
    font-size: 15px;
    line-height: 1.45;
  }

  .turnkey-points li + li {
    margin-top: 8px;
  }

  .services-panel {
    border-radius: 22px;
    padding: 22px;
  }

  .stela-main {
    padding-bottom: 54px;
  }

  .stela-hero-panel,
  .stela-filters,
  .stela-cta-panel {
    border-radius: 22px;
    padding: 22px;
  }

  .stela-highlights {
    grid-template-columns: 1fr;
  }

  .stela-card {
    min-height: 330px;
  }

  .shape-arch::after,
  .shape-wave::after,
  .shape-cross::after,
  .shape-classic::after,
  .shape-double::after,
  .shape-book::after {
    width: 146px;
    height: 194px;
    top: 42px;
  }

  .shape-double::after {
    width: 182px;
  }

  .constructor-panel {
    border-radius: 22px;
    padding: 22px;
  }

  .process-panel {
    border-radius: 22px 22px 0 0;
    padding: 22px;
  }

  .contact-panel {
    border-radius: 22px 22px 0 0;
    padding: 22px;
  }


  .constructor-summary {
    justify-content: stretch;
  }

  .service-card {
    min-height: auto;
  }

  .steps li:hover {
    transform: none;
    box-shadow: 0 12px 24px rgba(8, 12, 16, 0.28);
  }

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

  .order-modal {
    padding: 10px;
  }

  .order-modal-dialog {
    max-height: calc(var(--vv-height, 100vh) - 20px);
    border-radius: 20px;
  }

  .order-modal-content {
    padding: 16px;
  }

  .order-modal-success-state .order-modal-content {
    min-height: auto;
    padding: 14px;
  }

  .order-modal-close {
    width: 38px;
    height: 38px;
    right: 10px;
    top: 10px;
    font-size: 26px;
  }

  .order-modal-subtitle {
    font-size: 14px;
    margin-top: 8px;
  }

  .order-modal-form {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .order-success {
    margin-top: 8px;
    padding: 4px 0;
    border-radius: 0;
    gap: 8px;
  }

  .order-success h3 {
    font-size: 22px;
    line-height: 1.04;
  }

  .order-success p {
    font-size: 14px;
    line-height: 1.3;
  }
}

@media (max-width: 390px) {
  .hero {
    padding: 124px 0 22px;
  }

  .hero-band-wrap {
    bottom: 0;
    padding: 0;
  }

  .hero-band-item {
    min-height: 70px;
    padding: 6px 8px 7px;
  }

  .hero-band-item p {
    font-size: 10px;
    line-height: 1.1;
  }

  .hero-band-gift-overlay {
    width: 30px;
    right: 12px;
    bottom: 2px;
  }

  .turnkey-panel {
    border-radius: 20px;
    padding: 18px;
  }

  .turnkey-panel h2 {
    font-size: 26px;
  }

  .turnkey-points {
    font-size: 14px;
    line-height: 1.42;
  }

  .mobile-order-cta {
    max-width: min(82vw, 240px);
    padding: 10px 14px;
    font-size: 14px;
  }

  /* iPhone 13 and similar: make Stela page text smaller, stela images larger. */
  .stela-marble-title {
    font-size: 24px;
    letter-spacing: -0.01em;
  }

  .stela-marble-subtitle {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
  }

  .stela-photo-tile {
    gap: 10px;
    padding: 10px;
  }

  .stela-photo-tile img {
    padding: 6px;
  }

  .stela-photo-tile.is-c3 img {
    padding: 18px;
  }

  .stela-photo-tag {
    padding: 6px 10px;
    font-size: 11px;
  }

  .stela-photo-price {
    font-size: 13px;
  }

  .stela-photo-tile-disabled .stela-photo-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .stela-photo-tile-disabled .stela-photo-price {
    font-size: 12px;
    line-height: 1.15;
  }

  .mobile-nav-panel {
    width: min(88vw, 320px);
    padding: 0 18px 22px;
    border-radius: 22px 0 0 22px;
  }

  .mobile-nav-logo {
    width: 118px;
    height: 118px;
    margin-top: -24px;
  }

  .mobile-nav-name {
    width: 124px;
    margin-left: -44px;
    margin-top: -20px;
  }

  .mobile-nav-close {
    font-size: 40px;
    top: 14px;
  }

  .mobile-nav-links {
    gap: 16px;
    font-size: 18px;
    margin-top: -10px;
  }

  .mobile-nav-cta {
    font-size: 10px !important;
    padding: 9px 10px !important;
  }

  .stela-modal {
    padding: 8px;
  }

  .stela-modal-dialog {
    max-height: calc(var(--vv-height, 100vh) - 16px);
    padding: 14px;
    border-radius: 20px;
    gap: 12px;
  }

  .stela-modal-close {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .stela-modal-media {
    min-height: 240px;
    padding: 8px 10px;
    border-radius: 18px;
  }

  .stela-modal-media img {
    max-height: 52svh;
  }

  .stela-modal-price {
    font-size: 22px;
  }

  .stela-modal-label {
    font-size: 13px;
  }

  .stela-modal-check {
    font-size: 13px;
  }

  .stela-modal-materials {
    grid-template-columns: repeat(4, minmax(0, 64px));
    gap: 6px;
    max-width: none;
  }

  .stela-modal-materials .stela-color-card {
    grid-template-columns: 1fr;
  }

  .stela-modal-materials .stela-color-card-swatch {
    width: 64px;
    height: 64px;
    padding: 2px;
    border-radius: 10px;
  }

  .stela-modal-materials .stela-color-card-name {
    font-size: 10px;
  }

  .stela-size-pill-face {
    height: 36px;
    font-size: 13px;
  }

  .stela-modal-check {
    padding: 11px 12px;
    border-radius: 14px;
    gap: 10px;
  }

  .stela-delivery-pill-face {
    height: 34px;
    font-size: 11px;
  }

  .order-modal {
    padding: 8px;
  }

  .order-modal-content {
    padding: 14px;
  }

  .order-modal-subtitle {
    font-size: 13px;
  }

  /* iPhone 13 and similar: avoid title underlapping the close button. */
  .order-modal-title {
    font-size: 26px;
    line-height: 1.02;
    padding-right: 56px;
  }

  .order-success {
    padding: 0;
  }

  .order-success h3 {
    font-size: 20px;
  }

  .order-success p {
    font-size: 13px;
    line-height: 1.28;
  }

  /* iPhone 13 and similar: make submit button more compact. */
  .order-submit {
    padding: 11px 14px;
    font-size: 14px;
  }
}
