:root {
  --graphite: #292722;
  --ink: #38342d;
  --milk: #edf0ee;
  --paper: #fafbfa;
  --sand: #d3dad6;
  --champagne: #b79662;
  --warm-gray: #69716c;
  --line: rgba(41, 39, 34, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--graphite);
  font: 16px/1.6 var(--sans);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.profile-page {
  width: min(100%, 43rem);
  min-height: 100vh;
  margin: auto;
  background: var(--paper);
}

.photo-wrap {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: #9d8b78;
}

.photo-wrap::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 6%;
  width: 5rem;
  height: 9rem;
  opacity: .7;
  background-image: radial-gradient(circle, rgba(255, 238, 201, .9) 1.8px, transparent 2px);
  background-size: 1rem 1rem;
  z-index: 2;
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 38%;
  /* Показываем исходное фото без фильтров, которые могут сделать его жёстче. */
  filter: none;
}

.photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 31, 23, .02) 28%, rgba(37, 31, 23, .7) 100%);
  z-index: 1;
}

.monogram {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  padding: .34rem .5rem;
  border: 1px solid rgba(255, 251, 243, .7);
  color: var(--milk);
  font: 1.2rem var(--serif);
  letter-spacing: .14em;
  z-index: 3;
}

.hero-copy {
  position: absolute;
  right: 1.4rem;
  bottom: clamp(1.7rem, 6vw, 3.5rem);
  left: clamp(1.4rem, 5vw, 3.5rem);
  color: var(--paper);
  z-index: 3;
}

.hero-kicker, .section-kicker {
  margin: 0 0 .8rem;
  color: #a17d44;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-kicker { color: #f1d8ad; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.4rem, 10vw, 6.4rem);
}

.hero-role {
  margin: 1.3rem 0 0;
  font: clamp(1.1rem, 3vw, 1.45rem) / 1.28 var(--serif);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  margin-top: 1.35rem;
  padding: .65rem 1rem;
  border: 1px solid rgba(250, 251, 250, .88);
  background: rgba(250, 251, 250, .12);
  color: var(--paper);
  font-size: .92rem;
  font-weight: 600;
  transition: background .2s, color .2s;
}

.hero-cta:hover, .hero-cta:focus-visible {
  background: var(--paper);
  color: var(--graphite);
}

.intro, .about-block, .services-block, .approach-block, .form-block, .faq-block {
  padding: clamp(2.25rem, 7vw, 4.5rem) clamp(1.4rem, 7vw, 4rem);
}

.intro {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250, 251, 250, .98) 0%, rgba(250, 251, 250, .86) 45%, rgba(250, 251, 250, .25) 100%), url("/business-exterior.png") right center / cover no-repeat;
  pointer-events: none;
}

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

.intro p:first-child {
  max-width: 24rem;
  margin: 0 0 1rem;
  font: clamp(1.7rem, 5vw, 2.7rem) / 1.15 var(--serif);
}

.intro-detail {
  max-width: 30rem;
  margin: 0;
  color: #252823;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .78);
}

.contact-actions {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 7vw, 4.5rem) clamp(1.4rem, 7vw, 4rem);
  background: var(--milk);
}

.contact-actions::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -4.5rem;
  width: 15rem;
  height: 19rem;
  opacity: .46;
  background-image: linear-gradient(90deg, transparent 24%, rgba(79, 108, 102, .32) 24%, rgba(79, 108, 102, .32) 25%, transparent 25%), linear-gradient(rgba(79, 108, 102, .32) 1px, transparent 1px), linear-gradient(90deg, rgba(183, 150, 98, .35) 1px, transparent 1px);
  background-size: 4rem 4rem, 4rem 4rem, 4rem 4rem;
  transform: perspective(22rem) rotateY(-18deg);
  pointer-events: none;
}

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

.contact-action {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .65rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .34);
  transition: background .2s, transform .2s;
}

.contact-action:hover {
  background: var(--paper);
  transform: translateY(-1px);
}

.contact-action span { font: 1.25rem var(--serif); }
.contact-action small {
  color: var(--warm-gray);
  font-size: .76rem;
  overflow-wrap: anywhere;
  text-align: right;
}

.contact-action.primary {
  border-color: var(--champagne);
  background: var(--champagne);
  color: var(--graphite);
}

.contact-action.primary small { color: #59482e; }
.contact-action.static { cursor: default; }
.contact-action.qr-trigger {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.qr-dialog {
  width: min(24rem, calc(100vw - 2rem));
  padding: 2rem;
  border: 0;
  background: var(--paper);
  color: var(--graphite);
  box-shadow: 0 1rem 3rem rgba(41, 39, 34, .28);
  text-align: center;
}

.qr-dialog::backdrop { background: rgba(41, 39, 34, .7); }
.qr-dialog h2 { margin: 0 0 1.25rem; font-size: 2rem; }
.qr-dialog img { display: block; width: min(17.5rem, 100%); height: auto; margin: 0 auto 1rem; background: white; }
.qr-dialog p:last-child { margin: 0; color: var(--warm-gray); font-size: .9rem; }
.qr-close {
  position: absolute;
  top: .45rem;
  right: .65rem;
  border: 0;
  background: transparent;
  color: var(--graphite);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.about-block {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.about-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250, 251, 250, .98) 0%, rgba(250, 251, 250, .93) 38%, rgba(250, 251, 250, .56) 53%, rgba(250, 251, 250, .04) 100%), url("/galina-lilac.webp") 68% center / cover no-repeat;
  filter: saturate(1.12) contrast(1.16) brightness(1.03);
  opacity: 1;
  pointer-events: none;
}

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

.about-block h2, .form-block h2 {
  max-width: 13ch;
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 6vw, 3.8rem);
}

.about-block p:not(.section-kicker) {
  max-width: 26rem;
  color: #242720;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .76);
}

.about-block p:nth-of-type(3) {
  margin-top: 2rem;
}

.editorial-block {
  position: relative;
  min-height: 38rem;
  overflow: hidden;
  background: #d4dfd8;
}

.editorial-copy {
  position: relative;
  z-index: 3;
  width: min(72%, 30rem);
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(2.2rem, 6vw, 4rem) clamp(1.4rem, 5vw, 3.2rem);
}

.editorial-copy h2 {
  margin: 0 0 1.3rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.editorial-copy p:last-child {
  max-width: 20rem;
  margin: 0;
}

.architecture-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.architecture-line {
  position: absolute;
  right: -2rem;
  bottom: -1.5rem;
  width: min(74%, 30rem);
  height: auto;
  fill: none;
  stroke: rgba(58, 77, 71, .42);
  stroke-width: 1.4;
}

.dot-pattern {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 6.5rem;
  height: 7rem;
  opacity: .7;
  background-image: radial-gradient(circle, #b79662 1.8px, transparent 2px);
  background-size: 1rem 1rem;
}

.services-block {
  position: relative;
  overflow: hidden;
  background: #eef1ef;
}

.services-block::after, .form-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(238, 241, 239, .94), rgba(238, 241, 239, .77)), url("/galina-lilac.webp") right center / cover no-repeat;
  filter: saturate(.58) blur(2px);
  opacity: .16;
  pointer-events: none;
  z-index: 0;
}

.services-block::after {
  display: block;
  background: linear-gradient(90deg, rgba(238, 241, 239, .98) 0%, rgba(238, 241, 239, .9) 47%, rgba(238, 241, 239, .24) 100%), url("/business-exterior.png") right center / cover no-repeat;
  filter: saturate(.76);
  opacity: 1;
}

.services-block > *, .form-block > * {
  position: relative;
  z-index: 1;
}

.services-block article {
  position: relative;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.services-block article::after {
  display: none;
}

.services-block article:last-child {
  border-bottom: 1px solid var(--line);
}

.services-block span, .approach-block li > span {
  color: #9a7948;
  font: 1.1rem var(--serif);
}

.services-block h2 {
  margin: .7rem 0;
  font-size: clamp(1.65rem, 4vw, 2.3rem);
}

.services-block p {
  max-width: 32rem;
  margin: 0;
  color: #252823;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

.directions-block {
  padding: clamp(2.25rem, 7vw, 4.5rem) clamp(1.4rem, 7vw, 4rem);
  background: var(--paper);
}

.directions-block h2 {
  max-width: 15ch;
  margin: 0 0 1.8rem;
  font-size: clamp(2.1rem, 5vw, 3.3rem);
}

.direction-grid { display: grid; gap: .7rem; }
.direction-card {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: .15rem .8rem;
  padding: 1.05rem;
  border: 1px solid var(--line);
  background: #f4f6f4;
  transition: transform .2s, background .2s;
}
.direction-card:hover, .direction-card:focus-visible { background: var(--milk); transform: translateY(-2px); }
.direction-card span { grid-row: span 2; color: var(--champagne); font: 1.05rem var(--serif); }
.direction-card strong { font: 1.35rem/1.15 var(--serif); font-weight: 400; }
.direction-card small { color: var(--warm-gray); font-size: .82rem; }

.approach-block {
  position: relative;
  overflow: hidden;
  background: #e0e6e2;
}

.approach-block::after {
  display: none;
}

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

.approach-block ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.approach-block li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}

.approach-block li:last-child {
  border-bottom: 1px solid var(--line);
}

.approach-block h2 {
  margin: 0 0 .35rem;
  font-size: 1.6rem;
}

.approach-block p {
  margin: 0;
  color: #252823;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

.investment-block {
  padding: clamp(3rem, 9vw, 6rem) clamp(1.4rem, 7vw, 4rem);
  background: #4f6c66;
  color: #f7faf8;
}

.investment-block .section-kicker { color: #dfc892; }
.investment-block h2 {
  max-width: 14ch;
  margin: 0 0 1.4rem;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.investment-block p:last-child {
  max-width: 35rem;
  margin: 0;
}

.form-block {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.form-block::after {
  /* Портрет Галины повторяет личное сопровождение в финальном призыве к действию. */
  background-image: linear-gradient(90deg, rgba(250, 251, 250, .99) 0%, rgba(250, 251, 250, .9) 38%, rgba(250, 251, 250, .15) 100%), url("/galina-contact-portrait.webp");
  background-position: center, right -1rem top 1.5rem;
  background-size: cover, min(32rem, 74%) auto;
  background-repeat: no-repeat;
  filter: saturate(.78) contrast(1.05) blur(.15px);
  opacity: 1;
}

.form-block > p:not(.section-kicker):not(.form-note) {
  max-width: 32rem;
}

.consultation-actions {
  display: grid;
  gap: .7rem;
  width: min(100%, 22rem);
  margin-top: 2rem;
}

.consultation-cta {
  display: block;
  padding: .85rem 1rem;
  border: 1px solid rgba(41, 39, 34, .3);
  background: rgba(250, 251, 250, .8);
  color: var(--graphite);
  text-align: center;
  transition: background .2s, transform .2s;
}

.consultation-cta:hover, .consultation-cta:focus-visible {
  background: var(--paper);
  transform: translateY(-1px);
}

.consultation-cta.primary {
  border-color: var(--champagne);
  background: var(--champagne);
}

.form-block label {
  display: grid;
  gap: .45rem;
  font-size: .88rem;
  color: #252823;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

.form-block input, .form-block select, .form-block textarea {
  width: 100%;
  padding: .8rem;
  border: 1px solid #aaa091;
  border-radius: 0;
  background: #fffdf8;
  color: var(--graphite);
}

.form-block button {
  justify-self: start;
  padding: .9rem 1.2rem;
  border: 0;
  background: var(--graphite);
  color: var(--milk);
  cursor: pointer;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.consent input {
  width: 1rem !important;
  margin-top: .3rem;
}

.honeypot {
  position: absolute;
  left: -999rem;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  font-size: .9rem;
}

.form-note {
  max-width: 36rem;
  color: #252823;
  font-size: .8rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

.faq-block {
  position: relative;
  overflow: hidden;
  background: var(--milk);
}

.faq-block::after {
  content: "";
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(79, 108, 102, .36);
  box-shadow: -2.5rem -2.5rem 0 -1px rgba(79, 108, 102, .22), -5rem -5rem 0 -1px rgba(183, 150, 98, .32);
  transform: rotate(22deg);
  pointer-events: none;
}

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

details {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font: 1.2rem var(--serif); }
details p { margin-bottom: 0; color: var(--warm-gray); }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 43rem);
  margin: auto;
  padding: 1.5rem clamp(1.4rem, 7vw, 4rem);
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: .83rem;
}

footer button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--champagne);
  background: transparent;
  color: var(--graphite);
  cursor: pointer;
}

@media (min-width: 44rem) {
  body { padding: 2rem; }
  .profile-page { box-shadow: 0 1.5rem 5rem rgba(75, 60, 43, .16); }
}

@media (max-width: 35rem) {
  .editorial-block { min-height: 35rem; }
  .editorial-copy { width: 76%; }
}

@media (max-width: 28rem) {
  .contact-action {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-action small { text-align: left; }
  .hero-copy h1 { font-size: 3rem; }
}
