:root {
  --ink: #171310;
  --paper: #f5f0e8;
  --white: #fffdf8;
  --blue: #3d5afe;
  --pink: #ef496f;
  --yellow: #ffc83d;
  --orange: #f27b28;
  --muted: #6e655e;
  --line: rgba(23, 19, 16, 0.16);
  --radius: 1.35rem;
  --page: min(1240px, calc(100vw - 3rem));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open,
body.lightbox-open,
body.contact-dialog-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  color: white;
  background: var(--ink);
  border-radius: 999px;
}

.skip-link:focus { transform: translateY(0); }
.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; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 2rem);
  max-width: 1380px;
  margin: 1rem auto 0;
  padding: 0.7rem 0.8rem 0.7rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.84);
  box-shadow: 0 12px 42px rgba(30, 18, 9, 0.1);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 36px rgba(30, 18, 9, 0.16);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-name { font-family: var(--serif); font-size: 1.18rem; font-weight: 700; }
.brand-note { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { font-size: 0.9rem; font-weight: 650; text-decoration: none; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -0.25rem; left: 0; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.site-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  padding: 0.7rem 1rem;
  color: white;
  background: var(--ink);
  border-radius: 999px;
}

.menu-toggle { display: none; width: 2.7rem; height: 2.7rem; padding: 0.7rem; border: 0; border-radius: 50%; background: var(--ink); }
.menu-toggle-line { display: block; height: 2px; margin: 0.35rem 0; background: white; transition: transform 180ms ease; }

.section {
  width: var(--page);
  margin-inline: auto;
  padding: clamp(5.5rem, 10vw, 9rem) 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.2rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span { width: 2.7rem; height: 3px; background: var(--pink); }
.eyebrow-light { color: rgba(255, 255, 255, 0.72); }
.eyebrow-light span { background: var(--yellow); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -0.055em; line-height: 0.96; }
h1 { margin-bottom: 1.7rem; font-size: clamp(4rem, 5.5vw, 5.4rem); font-weight: 870; }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.7rem, 6.1vw, 6.3rem); font-weight: 830; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; }
h3 { line-height: 1.14; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  min-height: 100svh;
  padding: 8.8rem max(1.5rem, calc((100vw - 1240px) / 2)) 4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px) 0 0 / 8vw 100%,
    var(--paper);
}

.hero-paint {
  position: absolute;
  z-index: -2;
  top: 8%;
  right: -7%;
  width: min(58vw, 820px);
  aspect-ratio: 0.94;
  border-radius: 49% 51% 45% 55% / 62% 38% 62% 38%;
  background:
    radial-gradient(circle at 32% 30%, var(--yellow) 0 17%, transparent 18%),
    radial-gradient(circle at 73% 72%, var(--pink) 0 16%, transparent 17%),
    linear-gradient(145deg, var(--blue) 8%, #1f3bd3 58%, #1c2daa 100%);
  transform: rotate(-8deg);
  filter: saturate(1.1);
}

.hero-paint::after {
  content: "";
  position: absolute;
  inset: 8% 0 0 9%;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: inherit;
  transform: rotate(10deg);
}

.hero-copy { position: relative; z-index: 4; max-width: 690px; }
.hero-copy h1 em { color: var(--blue); }
.hero-lead { max-width: 590px; margin-bottom: 2rem; color: #433b35; font-size: clamp(1.1rem, 1.6vw, 1.36rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 3.35rem;
  padding: 0.85rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-3px); }
.button-primary { color: white; background: var(--ink); box-shadow: 0 12px 28px rgba(23, 19, 16, 0.2); }
.button-primary:hover { background: var(--blue); box-shadow: 0 16px 32px rgba(61, 90, 254, 0.28); }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { background: var(--yellow); }
.button-full { width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0; border-bottom: 2px solid currentColor; font-weight: 780; text-decoration: none; }
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, 2px); }

.hero-facts { display: flex; gap: 2.3rem; margin-top: 3.1rem; }
.hero-facts div { display: grid; padding-left: 1rem; border-left: 3px solid var(--yellow); }
.hero-facts strong { font-size: 1rem; }
.hero-facts span { color: var(--muted); font-size: 0.8rem; }

.hero-visual { position: relative; z-index: 2; align-self: end; height: min(78vh, 780px); min-height: 580px; }
.hero-visual img { position: absolute; z-index: 2; right: -2%; bottom: -2%; width: min(50vw, 660px); max-height: 100%; object-fit: contain; object-position: bottom right; filter: drop-shadow(0 28px 30px rgba(23, 19, 16, 0.2)); }
.hero-orbit { position: absolute; z-index: 1; right: 8%; bottom: 7%; width: 77%; aspect-ratio: 1; border: 2px solid rgba(255,255,255,0.85); border-radius: 50%; }
.hero-stamp { position: absolute; z-index: 3; top: 11%; right: 5%; display: grid; place-content: center; width: 7.4rem; aspect-ratio: 1; color: var(--ink); background: var(--yellow); border-radius: 50%; text-align: center; transform: rotate(7deg); box-shadow: 0 10px 24px rgba(23,19,16,.16); }
.hero-stamp span { font-family: var(--serif); font-size: 1.03rem; font-style: italic; }
.hero-stamp strong { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-side-note { position: absolute; z-index: 3; right: 1rem; bottom: 4rem; margin: 0; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.22em; writing-mode: vertical-rl; }

.section-heading { max-width: 1020px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-heading h2 { margin-bottom: 0; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 3rem; max-width: none; }
.section-intro { max-width: 400px; margin-bottom: 0.6rem; color: var(--muted); font-size: 1.06rem; }

.portfolio {
  width: 100%;
  max-width: none;
  padding-inline: max(1.5rem, calc((100vw - 1240px) / 2));
  color: white;
  background: var(--ink);
}

.portfolio .section-heading h2 em { color: var(--yellow); }
.portfolio .section-intro { color: rgba(255,255,255,.58); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 135px; gap: 0.85rem; }
.gallery-card { position: relative; grid-row: span 3; min-height: 0; padding: 0; border: 0; border-radius: 1rem; background: #29221d; overflow: hidden; cursor: zoom-in; }
.gallery-card.gallery-tall { grid-row: span 4; }
.gallery-card.gallery-wide { grid-column: span 2; grid-row: span 3; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 300ms ease; }
.gallery-card::after { content: "↗"; position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 2.7rem; aspect-ratio: 1; color: var(--ink); background: var(--yellow); border-radius: 50%; transform: scale(0.72) rotate(-15deg); opacity: 0; transition: transform 220ms ease, opacity 220ms ease; }
.gallery-card:hover img { transform: scale(1.04); filter: saturate(1.08); }
.gallery-card:hover::after { transform: scale(1) rotate(0); opacity: 1; }
.gallery-caption { position: absolute; right: 0; bottom: 0; left: 0; padding: 3rem 1.1rem 1rem; color: white; background: linear-gradient(transparent, rgba(0,0,0,.82)); font-size: 0.86rem; font-weight: 700; text-align: left; opacity: 0; transition: opacity 220ms ease; }
.gallery-card:hover .gallery-caption,
.gallery-card:focus-visible .gallery-caption { opacity: 1; }
.gallery-card:nth-child(2) img { object-position: 50% 28%; }
.gallery-card:nth-child(3) img { object-position: 50% 66%; }
.gallery-card:nth-child(5) img { object-position: 48% 58%; }
.gallery-card:nth-child(7) img { object-position: 50% 60%; }

.about { display: grid; grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.about-image-wrap { position: relative; min-height: 700px; }
.about-image-color { position: absolute; top: 2rem; right: -2rem; bottom: -2rem; left: 2rem; background: var(--pink); border-radius: 49% 51% 1.3rem 1.3rem; transform: rotate(3deg); }
.about-image-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 16rem 16rem 1.3rem 1.3rem; object-fit: cover; object-position: 50% 50%; filter: saturate(0.88) contrast(1.03); }
.about-label { position: absolute; right: -1.5rem; bottom: 2.5rem; padding: 1rem 1.3rem; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 0.4rem; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.08em; line-height: 1.4; text-transform: uppercase; transform: rotate(-5deg); }
.about-copy h2 { font-size: clamp(2.8rem, 5.5vw, 5.6rem); }
.about-lead { color: var(--blue); font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-style: italic; line-height: 1.35; }
.about-copy > p:not(.eyebrow):not(.about-lead) { max-width: 650px; color: var(--muted); font-size: 1.08rem; }
blockquote { max-width: 680px; margin: 2.4rem 0 0; padding: 1.7rem 0 0 1.7rem; border-top: 1px solid var(--line); border-left: 4px solid var(--pink); font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.8rem); font-style: italic; line-height: 1.45; }

.process { border-top: 1px solid var(--line); }
.steps { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.step { display: grid; grid-template-columns: 0.22fr 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.step-number { color: var(--pink); font-family: var(--serif); font-size: clamp(2rem, 4vw, 4.2rem); font-style: italic; line-height: 1; }
.step div { display: grid; grid-template-columns: minmax(200px, .7fr) 1fr; gap: 2rem; align-items: start; }
.step h3 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 2rem); }
.step p { max-width: 600px; margin: 0; color: var(--muted); font-size: 1.02rem; }
.process-action { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; margin-top: 2.5rem; }
.process-action p { max-width: 520px; margin: 0; color: var(--muted); }
.process-action .button { flex: 0 0 auto; }

.interior {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) 1.1fr;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 780px;
  padding: 0;
  color: white;
  background: var(--blue);
  overflow: hidden;
}
.interior::after { content: ""; position: absolute; z-index: 0; right: -9rem; bottom: -12rem; width: 36rem; aspect-ratio: 1; border: 5rem solid var(--pink); border-radius: 50%; opacity: .9; }
.interior-image { height: 100%; min-height: 780px; }
.interior-image img { width: 100%; height: 100%; object-fit: cover; object-position: 47% 50%; }
.interior-copy { position: relative; z-index: 1; max-width: 770px; padding: clamp(3.5rem, 8vw, 8rem); }
.interior-copy h2 { font-size: clamp(2.8rem, 5.5vw, 5.8rem); }
.interior-copy p:not(.eyebrow) { max-width: 660px; color: rgba(255,255,255,.76); font-size: 1.08rem; }
.interior-copy .button { margin-top: 1.2rem; }

.prices { display: grid; grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.price-intro { position: sticky; top: 8rem; }
.price-intro h2 { font-size: clamp(2.9rem, 5.8vw, 5.8rem); }
.price-intro > p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 1.05rem; }
.price-note { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.5rem; padding: 1.25rem; background: var(--yellow); border-radius: 1rem; transform: rotate(-1.2deg); }
.price-note > span { display: grid; place-content: center; flex: 0 0 auto; width: 3.2rem; aspect-ratio: 1; color: white; background: var(--ink); border-radius: 50%; font-size: 2rem; }
.price-note strong { display: block; font-size: 1.45rem; }
.price-note p { margin: 0; font-size: .9rem; line-height: 1.4; }
.price-panel { padding: clamp(1.3rem, 3vw, 2.4rem); color: white; background: var(--ink); border-radius: var(--radius); box-shadow: 0 28px 70px rgba(23,19,16,.18); }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.45rem .3rem; border-bottom: 1px solid rgba(255,255,255,.16); }
.price-row span { font-size: 1.12rem; }
.price-row strong { font-family: var(--serif); font-size: clamp(1.65rem, 2.6vw, 2.35rem); white-space: nowrap; }
.price-row small { display: inline-block; margin-left: .45rem; padding: .25rem .55rem; color: var(--ink); background: var(--yellow); border-radius: 999px; font-size: .68rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.included { margin: 2rem 0; padding: 1.2rem; color: rgba(255,255,255,.78); background: rgba(255,255,255,.07); border-radius: 1rem; }
.included p { display: flex; gap: .65rem; margin-bottom: .7rem; font-size: .94rem; }
.included p:last-child { margin-bottom: 0; }
.included span { color: var(--yellow); font-weight: 900; }
.included .delivery { color: rgba(255,255,255,.56); }

.conditions {
  position: relative;
  width: calc(100% - 2rem);
  max-width: 1400px;
  padding-inline: clamp(1.5rem, 6vw, 6rem);
  color: white;
  background: var(--blue);
  border-radius: 2.2rem;
  overflow: hidden;
  isolation: isolate;
}
.conditions::before { content: ""; position: absolute; z-index: -1; top: -17rem; right: -12rem; width: 38rem; aspect-ratio: 1; border: 5rem solid rgba(255,255,255,.1); border-radius: 50%; }
.conditions .section-heading h2 em { color: var(--yellow); }
.conditions .section-intro { color: rgba(255,255,255,.72); }
.conditions-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.condition-card { display: flex; flex-direction: column; min-height: 285px; padding: 1.5rem; color: var(--ink); background: var(--white); border-radius: 1.15rem; }
.condition-card:nth-child(2) { transform: translateY(1.4rem); }
.condition-card:nth-child(3) { transform: translateY(-.7rem); }
.condition-card-accent { background: var(--yellow); }
.condition-number { align-self: flex-start; display: grid; place-items: center; width: 2.7rem; aspect-ratio: 1; margin-bottom: auto; color: white; background: var(--ink); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.condition-card h3 { margin: 2.8rem 0 .8rem; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.condition-card p { margin-bottom: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.condition-card-accent p { color: rgba(23,19,16,.74); }
.conditions-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin-top: 3.5rem; padding: 1rem 1.15rem; border-top: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); }
.conditions-note > span { color: var(--pink); font-size: 1.5rem; }
.conditions-note p { margin: 0; color: rgba(255,255,255,.78); }
.conditions-note a { display: inline-flex; align-items: center; gap: .5rem; color: white; font-weight: 820; text-underline-offset: .28rem; }

.reviews { padding-top: clamp(6rem, 11vw, 10rem); }
.reviews .section-heading h2 em { color: var(--pink); }
.reviews-grid { column-count: 3; column-gap: 1rem; }
.review-shot { position: relative; display: block; width: 100%; margin: 0 0 1rem; padding: 0; background: var(--ink); border: 0; border-radius: 1.15rem; box-shadow: 0 18px 45px rgba(23,19,16,.12); overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.review-shot img { width: 100%; height: auto; transition: transform 420ms cubic-bezier(.2,.7,.2,1), filter 220ms ease; }
.review-shot::after { content: "↗"; position: absolute; top: .9rem; right: .9rem; display: grid; place-items: center; width: 2.8rem; aspect-ratio: 1; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; font-weight: 900; transform: rotate(-8deg); transition: transform 180ms ease; }
.review-shot:hover img { transform: scale(1.018); filter: saturate(1.04); }
.review-shot:hover::after { transform: rotate(0) scale(1.05); }

.contact {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  width: calc(100% - 2rem);
  max-width: 1400px;
  min-height: 810px;
  padding: clamp(3rem, 7vw, 7rem);
  color: white;
  background: var(--ink);
  border-radius: 2.2rem;
  overflow: hidden;
  isolation: isolate;
}
.contact::before { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 28% 28%, rgba(61,90,254,.4), transparent 42%); }
.contact-copy { position: relative; z-index: 4; }
.contact-copy h2 { font-size: clamp(3rem, 6vw, 6.4rem); }
.contact-copy h2 em { color: var(--yellow); }
.contact-copy > p:not(.eyebrow):not(.max-note) { max-width: 650px; color: rgba(255,255,255,.7); font-size: 1.1rem; }
.contact-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; max-width: 620px; margin-top: 2rem; }
.social-button { display: flex; align-items: center; gap: .8rem; min-height: 3.7rem; padding: .75rem 1rem; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: .9rem; font-size: .93rem; font-weight: 780; text-align: left; text-decoration: none; cursor: pointer; transition: transform 170ms ease, background 170ms ease, border-color 170ms ease; }
.social-button span { display: grid; place-content: center; flex: 0 0 2.35rem; height: 2.35rem; color: var(--ink); background: white; border-radius: .65rem; font-size: .67rem; font-weight: 950; letter-spacing: .03em; }
.social-button:hover { transform: translateY(-3px); border-color: white; background: rgba(255,255,255,.15); }
.social-vk:hover { background: #2787f5; }
.social-tg:hover { background: #229ed9; }
.social-max:hover { background: #6c4dff; }
.social-wa:hover { background: #1e9d54; }
.phone-link { display: inline-block; margin-top: 1.6rem; color: white; font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.35rem); text-decoration-thickness: 1px; text-underline-offset: .3rem; }
.max-note { margin-top: .5rem; color: rgba(255,255,255,.46); font-size: .78rem; }
.contact-portrait { position: absolute; z-index: 2; right: -2.5rem; bottom: 0; width: 47%; height: 96%; }
.contact-portrait img { position: absolute; z-index: 2; right: 4%; bottom: 0; width: min(80%, 540px); height: 96%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 22px 32px rgba(0,0,0,.3)); }
.contact-halo { position: absolute; z-index: 1; right: -5%; bottom: 8%; width: 92%; aspect-ratio: 1; background: var(--pink); border-radius: 50%; }
.contact-halo::before { content: ""; position: absolute; inset: 10%; border: 2px solid rgba(255,255,255,.75); border-radius: 50%; }
.contact-signature { position: absolute; z-index: 3; right: 7%; bottom: 3rem; display: grid; padding: .9rem 1.2rem; color: var(--ink); background: var(--yellow); border-radius: .8rem; transform: rotate(-4deg); box-shadow: 0 12px 30px rgba(0,0,0,.24); }
.contact-signature strong { font-family: var(--serif); font-size: 1.55rem; font-style: italic; line-height: 1; }
.contact-signature span { font-size: .7rem; font-weight: 800; }
.contact-shape { position: absolute; z-index: -1; pointer-events: none; }
.contact-shape-one { top: -6rem; right: 32%; width: 18rem; aspect-ratio: 1; border: 4rem solid var(--blue); border-radius: 50%; transform: rotate(12deg); }
.contact-shape-two { left: 38%; bottom: -8rem; width: 18rem; height: 12rem; background: var(--orange); border-radius: 50%; transform: rotate(-18deg); }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 3rem; width: var(--page); margin: 0 auto; padding: 2.5rem 0 3.5rem; }
.site-footer div { display: grid; }
.site-footer strong { font-family: var(--serif); font-size: 1.35rem; }
.site-footer span, .site-footer p { color: var(--muted); font-size: .82rem; }
.site-footer a { font-weight: 800; text-decoration: none; }
.site-footer p { margin: 0; }

.floating-contact { position: fixed; z-index: 80; right: 1.1rem; bottom: 1.1rem; display: none; align-items: center; gap: .5rem; padding: .8rem 1rem; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 0 10px 26px rgba(23,19,16,.25); font-weight: 850; text-decoration: none; }

.contact-dialog { width: min(92vw, 820px); max-width: none; padding: 0; color: var(--ink); background: transparent; border: 0; overflow: visible; }
.contact-dialog::backdrop { background: rgba(13,10,8,.82); backdrop-filter: blur(10px); }
.contact-dialog-card { position: relative; padding: clamp(1.5rem, 4vw, 3.2rem); background: var(--paper); border: 2px solid var(--ink); border-radius: 1.6rem; box-shadow: 0 30px 100px rgba(0,0,0,.38); }
.contact-dialog-card::before { content: ""; position: absolute; z-index: 0; top: -2rem; right: 4rem; width: 7rem; height: 2rem; background: var(--yellow); transform: rotate(4deg); opacity: .9; }
.contact-dialog-card > * { position: relative; z-index: 1; }
.contact-dialog-card h2 { margin-bottom: 1rem; font-size: clamp(2.7rem, 7vw, 5rem); }
.contact-dialog-lead { max-width: 620px; margin-bottom: 1.8rem; color: var(--muted); }
.contact-dialog-close { position: absolute; z-index: 3; top: 1rem; right: 1rem; display: grid; place-items: center; width: 2.9rem; aspect-ratio: 1; padding: 0 0 .18rem; color: white; background: var(--ink); border: 0; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.contact-dialog-options { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.contact-choice { display: grid; grid-template-columns: 3rem 1fr; grid-template-rows: auto auto; column-gap: .85rem; align-items: center; min-height: 5.2rem; padding: .75rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: .95rem; text-align: left; text-decoration: none; cursor: pointer; transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease; }
.contact-choice:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 10px 25px rgba(23,19,16,.1); }
.contact-choice > span { grid-row: 1 / 3; display: grid; place-items: center; width: 3rem; aspect-ratio: 1; color: white; background: var(--ink); border-radius: .75rem; font-size: .68rem; font-weight: 950; }
.contact-choice strong { align-self: end; line-height: 1.15; }
.contact-choice small { align-self: start; color: var(--muted); font-size: .72rem; }
.contact-choice-vk > span { background: #2787f5; }
.contact-choice-tg > span { background: #229ed9; }
.contact-choice-max > span { background: #6c4dff; }
.contact-choice-wa > span { background: #1e9d54; }
.contact-dialog-phone { display: inline-block; margin-top: 1.5rem; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; text-underline-offset: .25rem; }

.lightbox { width: min(92vw, 920px); max-width: none; padding: 0; color: white; background: transparent; border: 0; overflow: visible; }
.lightbox::backdrop { background: rgba(13,10,8,.92); backdrop-filter: blur(8px); }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 1rem; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,.46); }
.lightbox p { margin: .8rem 3rem 0 0; color: rgba(255,255,255,.75); text-align: center; }
.lightbox-close { position: absolute; z-index: 2; top: -1.1rem; right: -1.1rem; display: grid; place-content: center; width: 3.2rem; aspect-ratio: 1; padding: 0; color: var(--ink); background: var(--yellow); border: 0; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.toast { position: fixed; z-index: 500; left: 50%; bottom: 2rem; max-width: calc(100vw - 2rem); padding: .9rem 1.15rem; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 0 12px 34px rgba(0,0,0,.22); font-weight: 800; text-align: center; transform: translate(-50%, 150%); opacity: 0; transition: transform 220ms ease, opacity 220ms ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal-delay { transition-delay: 110ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  :root { --page: min(100% - 2rem, 960px); }
  .site-nav { gap: 1rem; }
  .site-nav > a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1.05fr .95fr; }
  .hero-visual { min-height: 520px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .conditions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .condition-card:nth-child(2), .condition-card:nth-child(3) { transform: none; }
  .reviews-grid { column-count: 2; }
  .about-image-wrap { min-height: 610px; }
  .contact { padding-left: 3rem; }
  .contact-copy { max-width: 60%; }
}

@media (max-width: 820px) {
  :root { --page: calc(100% - 2rem); }
  html { scroll-padding-top: 5rem; }
  .site-header { width: calc(100% - 1.25rem); margin-top: .6rem; padding: .55rem .55rem .55rem 1rem; border-radius: 1.2rem; }
  .brand { display: grid; gap: 0; line-height: 1.1; }
  .brand-note { display: none; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + .5rem); right: 0; left: 0; display: grid; gap: 0; padding: .7rem; background: var(--white); border: 1px solid var(--line); border-radius: 1.2rem; box-shadow: 0 16px 38px rgba(23,19,16,.18); transform: translateY(-10px) scale(.98); transform-origin: top; visibility: hidden; opacity: 0; transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease; }
  .site-nav.open { transform: translateY(0) scale(1); visibility: visible; opacity: 1; }
  .site-nav > a:not(.nav-cta) { display: block; padding: .85rem .7rem; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: .55rem; text-align: center; }
  .menu-open .menu-toggle-line:first-child { transform: translateY(5px) rotate(45deg); }
  .menu-open .menu-toggle-line:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

  .hero { display: flex; flex-direction: column; min-height: auto; padding: 8rem 1rem 0; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: clamp(2.8rem, 11.5vw, 4.3rem); }
  .hero-lead { max-width: 620px; }
  .hero-visual { width: 100%; height: 610px; min-height: 0; margin-top: 1rem; }
  .hero-visual img { right: -5%; width: 92%; max-width: 610px; }
  .hero-paint { top: auto; right: -24%; bottom: 1%; width: 118vw; max-width: 760px; }
  .hero-stamp { top: 9%; right: 5%; width: 6.5rem; }
  .hero-side-note { display: none; }
  .hero-facts { gap: 1rem; justify-content: space-between; }

  .section-heading-row { display: block; }
  .section-intro { margin-top: 1.4rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 115px; }
  .gallery-card.gallery-wide { grid-column: span 2; }

  .about { grid-template-columns: 1fr; }
  .about-image-wrap { width: min(100%, 520px); min-height: 650px; }
  .about-copy { max-width: 700px; }

  .step { grid-template-columns: .18fr 1fr; }
  .step div { grid-template-columns: 1fr; gap: .55rem; }

  .interior { grid-template-columns: 1fr; }
  .interior-image { height: 620px; min-height: 0; }
  .interior-copy { padding: 4rem 1.5rem 5rem; }

  .prices { grid-template-columns: 1fr; }
  .price-intro { position: static; }

  .conditions { padding-inline: 1.5rem; }

  .contact { grid-template-columns: 1fr; min-height: auto; padding: 4rem 1.5rem 0; }
  .contact-copy { max-width: none; padding-bottom: 2rem; }
  .contact-portrait { position: relative; right: auto; bottom: auto; width: 100%; height: 600px; }
  .contact-portrait img { right: 0; left: 50%; width: min(86%, 480px); transform: translateX(-50%); }
  .contact-halo { right: 0; left: 50%; width: min(95%, 570px); transform: translateX(-50%); }
  .contact-signature { right: 7%; }
  .floating-contact { display: flex; }
}

@media (max-width: 560px) {
  .section { padding-block: 5.5rem; }
  .eyebrow { font-size: .71rem; }
  h2 { font-size: clamp(2.6rem, 13vw, 4.4rem); }
  .hero { padding-top: 7.2rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.15rem; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-facts strong { font-size: .9rem; }
  .hero-facts span { font-size: .72rem; line-height: 1.4; }
  .hero-visual { height: 480px; }
  .hero-visual img { width: 112%; max-width: none; right: -12%; }
  .hero-stamp { top: 5%; right: -1%; width: 5.7rem; }

  .gallery { grid-auto-rows: 90px; gap: .55rem; }
  .gallery-card { border-radius: .7rem; }
  .gallery-card:nth-child(7) { grid-column: auto; }
  .gallery-caption { display: none; }
  .gallery-card::after { top: .5rem; right: .5rem; width: 2.2rem; opacity: .92; transform: scale(1); }

  .about-image-wrap { min-height: 520px; }
  .about-image-color { right: -1rem; bottom: -1rem; left: 1rem; }
  .about-label { right: -.4rem; }
  blockquote { padding-left: 1rem; }

  .step { grid-template-columns: 3.2rem 1fr; gap: .8rem; padding: 1.5rem 0; }
  .process-action { align-items: flex-start; flex-direction: column; }

  .interior { min-height: auto; }
  .interior-image { height: 470px; }
  .interior-copy { padding-inline: 1rem; }

  .price-panel { padding: 1rem; }
  .price-row { align-items: start; }
  .price-row span { font-size: .95rem; }
  .price-row strong { font-size: 1.55rem; }
  .price-row small { display: block; width: max-content; margin: .35rem 0 0; }

  .conditions { width: calc(100% - 1rem); padding-inline: 1rem; border-radius: 1.4rem; }
  .conditions-grid { grid-template-columns: 1fr; }
  .reviews-grid { column-count: 1; }
  .condition-card { min-height: 245px; }
  .conditions-note { grid-template-columns: auto 1fr; }
  .conditions-note a { grid-column: 2; }
  .review-shot { border-radius: .85rem; }

  .contact { width: calc(100% - 1rem); padding-inline: 1rem; border-radius: 1.4rem; }
  .contact-copy h2 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .contact-buttons { grid-template-columns: 1fr; }
  .contact-portrait { height: 500px; }
  .contact-signature { right: 0; bottom: 1.4rem; }
  .site-footer { grid-template-columns: 1fr auto; gap: 1.5rem; padding-bottom: 6rem; }
  .site-footer p { grid-column: 1 / -1; }
  .lightbox { width: calc(100vw - 1rem); }
  .lightbox-close { top: .5rem; right: .5rem; }
  .contact-dialog { width: calc(100vw - 1rem); }
  .contact-dialog-card { padding: 1.3rem; border-radius: 1.25rem; }
  .contact-dialog-card h2 { max-width: calc(100% - 3rem); }
  .contact-dialog-options { grid-template-columns: 1fr; }
}

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