/* OPTIS Покраска — editorial light theme.
   Warm paper background, serif headlines, photo-driven layouts. */
*,*::before,*::after { box-sizing: border-box; }

:root {
  --paper: #f4efe6;        /* основная "бумажная" подложка */
  --paper-2: #efe8db;      /* углубление, ленты */
  --card: #ffffff;
  --ink: #161614;          /* почти-чёрный */
  --ink-soft: #2c2a26;
  --muted: #6e6a63;
  --line: rgba(20, 18, 14, 0.12);
  --line-soft: rgba(20, 18, 14, 0.06);
  --accent: #c8401b;       /* индустриальный кирпич */
  --accent-deep: #9c2f10;
  --accent-warm: #b8772a;  /* охра */
  --shadow-1: 0 2px 8px rgba(40, 30, 10, 0.06);
  --shadow-2: 0 18px 40px rgba(40, 30, 10, 0.10);
  --maxw: 1180px;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* субтильная бумажная текстура */
  background-image:
    radial-gradient(rgba(0,0,0,.022) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,.018) 1px, transparent 1px);
  background-size: 24px 24px, 36px 36px;
  background-position: 0 0, 12px 18px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(100% - 36px, var(--maxw)); margin-inline: auto; }

/* Typography — серьёзный серифный заголовочный, чистый sans-body */
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Georgia', serif;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0 0 .6rem;
  font-variation-settings: "opsz" 100;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { margin: 0 0 .9rem; color: var(--ink-soft); }
em { font-style: italic; color: var(--accent); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: .78rem;
  color: var(--accent);
  padding-bottom: .2rem;
  border-bottom: 1px solid var(--accent);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 1rem 1.8rem;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn i { width: 18px; height: 18px; }
.btn--solid {
  background: var(--ink);
  color: var(--paper);
}
.btn--solid:hover { background: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn--link {
  background: transparent;
  color: var(--ink);
  padding-left: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.btn--link:hover { color: var(--accent); border-color: var(--accent); }
.btn--full { width: 100%; justify-content: center; }

/* TOP BAR */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 239, 230, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 0;
  gap: 1rem;
}
.brand { display: flex; align-items: baseline; gap: .5rem; }
.brand__dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  align-self: center;
  box-shadow: 0 0 0 3px rgba(200, 64, 27, 0.16);
}
.brand__name {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--muted);
}
.topbar__nav { display: none; gap: 1.6rem; font-size: .94rem; color: var(--muted); }
.topbar__nav a:hover { color: var(--accent); }
@media (min-width: 920px) { .topbar__nav { display: flex; } }
.topbar__phone {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}
.topbar__phone:hover { border-color: var(--accent); color: var(--accent); }

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0 0;
  overflow: hidden;
  background: var(--paper);
}
.hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.08) saturate(.85) contrast(1.05);
  opacity: 0.92;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(244, 239, 230, 0.0) 0%, rgba(244, 239, 230, 0.85) 65%, rgba(244, 239, 230, 1) 100%),
    linear-gradient(90deg, rgba(244, 239, 230, 0.92) 0%, rgba(244, 239, 230, 0.4) 60%, rgba(244, 239, 230, 0.2) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-bottom: 4rem; max-width: 880px; }
.hero__kicker {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--line);
  display: inline-block;
}
.hero h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 7.5vw, 5.6rem);
  font-weight: 800;
  line-height: 1.02;
  margin-bottom: 1.6rem;
  font-variation-settings: "opsz" 144;
}
.hero h1 em { color: var(--accent); font-weight: 700; }
.hero__lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.hero__strip {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 2rem;
  padding: 1.4rem 0;
  background: var(--ink);
  color: var(--paper-2);
  margin-top: auto;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  justify-content: center;
}
.hero__strip span { opacity: .7; }
.hero__strip span:nth-child(odd) { opacity: 1; color: var(--accent-warm); }

/* INTRO */
.intro {
  padding: 6rem 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.intro__inner { max-width: 820px; }
.intro__eyebrow {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.intro__lede {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.intro__sig {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
}

/* SPREADS (services as magazine spreads) */
.spreads { padding: 4rem 0; }
.spread { padding: 4rem 0; border-bottom: 1px solid var(--line-soft); }
.spread:last-child { border-bottom: 0; }
.spread__grid {
  display: grid; gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) {
  .spread__grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .spread--right .spread__grid > :nth-child(1) { order: 1; }
  .spread--right .spread__grid > :nth-child(2) { order: 2; }
}
.spread__media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.spread__media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  filter: contrast(1.02) saturate(.95);
  transition: transform .9s ease;
}
.spread__media:hover img { transform: scale(1.04); }
.spread__caption {
  position: absolute; bottom: 1rem; left: 1rem;
  background: var(--paper);
  padding: .4rem .8rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: .85rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--accent);
}
.spread__num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 4rem;
  font-weight: 300;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: .9;
  font-variation-settings: "opsz" 144;
}
.spread__text h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.2rem; }
.spread__lede { font-size: 1.1rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 1.4rem; }
.spread__list { list-style: none; padding: 0; margin: 0 0 2rem; }
.spread__list li {
  padding: .55rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: .98rem;
  display: flex;
  align-items: baseline;
  gap: .8rem;
}
.spread__list li::before {
  content: '×';
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
}
.spread__list li:last-child { border-bottom: 0; }
.spread__price {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: var(--muted);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  margin: 0;
}
.spread__price strong { color: var(--ink); font-size: 1.5rem; font-weight: 700; }

/* WHY */
.why { padding: 6rem 0; background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.why__head { max-width: 720px; margin-bottom: 4rem; }
.why__head h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.why__grid {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }
.why__item {
  padding: 2.2rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.why__item:nth-child(3n) { border-right: 0; }
@media (max-width: 1079px) {
  .why__item { border-right: 1px solid var(--line); }
  .why__item:nth-child(2n) { border-right: 0; }
}
@media (max-width: 719px) {
  .why__item { border-right: 0; }
}
.why__item:hover { background: var(--paper); }
.why__item i { width: 28px; height: 28px; color: var(--accent); margin-bottom: 1.2rem; }
.why__item h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.why__item p { font-size: .95rem; color: var(--muted); margin: 0; }

/* PROCESS */
.process { padding: 6rem 0; }
.process__head { max-width: 720px; margin-bottom: 4rem; }
.process__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0;
}
.process__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.process__list li:last-child { border-bottom: 1px solid var(--line); }
.process__num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  min-width: 70px;
}
.process__list h4 { font-size: 1.4rem; margin-bottom: .3rem; }
.process__list p { color: var(--muted); margin: 0; max-width: 580px; }

/* PRICING */
.pricing { padding: 6rem 0; background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.pricing__head { max-width: 720px; margin-bottom: 3rem; }
.pricing__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .5rem 1.5rem;
  margin-bottom: 1.6rem;
  box-shadow: var(--shadow-1);
}
.pricing__card .row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px dashed var(--line);
  gap: 1rem;
  font-size: .98rem;
}
.pricing__card .row:last-child { border-bottom: 0; }
.pricing__card .row span { color: var(--ink-soft); flex: 1; }
.pricing__card .row b {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  white-space: nowrap;
}
.pricing__note {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
}

/* CASES */
.cases { padding: 6rem 0; }
.cases__head { max-width: 720px; margin-bottom: 4rem; }
.cases__grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .cases__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .cases__grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto; }
  .case--big { grid-column: span 2; grid-row: span 2; }
}
.case {
  position: relative;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-1);
  transition: transform .35s, box-shadow .35s;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.case img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  transition: transform .9s;
  filter: contrast(1.03) saturate(.92);
}
.case--big img { aspect-ratio: 1 / 1; }
.case:hover img { transform: scale(1.05); }
.case figcaption {
  padding: 1.1rem 1.3rem;
  border-top: 1px solid var(--line-soft);
}
.case__title {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: .2rem;
}
.case__meta {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  font-style: italic;
}

/* FAQ */
.faq { padding: 6rem 0; background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.faq__head { max-width: 720px; margin-bottom: 3rem; }
.faq__list { max-width: 820px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0 .4rem;
  transition: background .25s;
}
.faq details[open] { background: var(--card); }
.faq summary {
  list-style: none;
  padding: 1.3rem 1.2rem 1.3rem 0;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
  transition: transform .25s;
  font-family: 'Inter', sans-serif;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p {
  padding: 0 .4rem 1.4rem;
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
}

/* CONTACT */
.contact {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}
.contact__photo { position: absolute; inset: 0; z-index: 0; }
.contact__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.1) saturate(.8) brightness(.92);
  opacity: 0.85;
}
.contact::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(244, 239, 230, 0.96) 0%, rgba(244, 239, 230, 0.78) 50%, rgba(244, 239, 230, 0.55) 100%);
}
.contact__inner {
  position: relative; z-index: 2;
  display: grid; gap: 4rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 920px) { .contact__inner { grid-template-columns: 1.1fr 1fr; gap: 5rem; } }
.contact__copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.4rem; }
.contact__copy p { font-size: 1.05rem; color: var(--ink-soft); max-width: 480px; margin-bottom: 2rem; }
.contact__items { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact__items li {
  display: flex; align-items: center; gap: .9rem;
  color: var(--ink-soft);
  font-size: 1rem;
}
.contact__items i { width: 18px; height: 18px; color: var(--accent); }
.contact__items a:hover { color: var(--accent); }
.contact__form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2.2rem;
  box-shadow: var(--shadow-2);
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}
.field input, .field textarea {
  width: 100%;
  padding: .85rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  color: var(--ink);
  font-size: 1.05rem;
  font-family: inherit;
  transition: border-color .25s;
  border-radius: 0;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 80px; }
.contact__note {
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

/* FOOTER */
.foot {
  background: var(--ink);
  color: var(--paper-2);
  padding: 4rem 0 1.5rem;
}
.foot__inner {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .foot__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.foot__brand { display: flex; align-items: baseline; gap: .5rem; }
.foot__brand .brand__name { color: var(--paper); font-size: 1.4rem; }
.foot__brand .brand__sub { color: var(--accent-warm); }
.foot__col h5 {
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
}
.foot__col a, .foot__col span {
  display: block;
  color: rgba(244, 239, 230, .65);
  padding: .3rem 0;
  font-size: .92rem;
}
.foot__col a:hover { color: var(--accent-warm); }
.foot__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 239, 230, .12);
  font-size: .82rem;
  color: rgba(244, 239, 230, .5);
}

/* Animation prep */
[data-anim] { opacity: 0; will-change: transform, opacity; }
[data-anim="up"] { transform: translateY(26px); }
[data-anim="left"] { transform: translateX(-26px); }
[data-anim="right"] { transform: translateX(26px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-anim] { opacity: 1; transform: none; }
}

/* Selection */
::selection { background: var(--accent); color: var(--paper); }
