/* Строительный Консалтинг — временный лендинг */
:root {
  --blue: #1a80b6;
  --blue-deep: #136690;
  --blue-soft: #e8f4fb;
  --blue-mist: #f3faff;
  --ink: #1c2430;
  --ink-soft: #3d4a5c;
  --muted: #5c6b7a;
  --line: #d7e3ec;
  --paper: #ffffff;
  --sand: #fff8ef;
  --accent: #e89a2e;
  --ok: #0f9a55;
  --danger: #b42318;
  --banner: #fff4e5;
  --banner-ink: #7a4a08;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(28, 36, 48, 0.08);
  --font: "Manrope", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 128, 182, 0.12), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(232, 154, 46, 0.08), transparent 55%),
    linear-gradient(180deg, #f7fbfe 0%, #ffffff 38%, #f5f9fc 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}

::selection {
  background: rgba(26, 128, 182, 0.2);
  color: var(--ink);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-deep);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Status banner */
.status {
  background: var(--banner);
  color: var(--banner-ink);
  border-bottom: 1px solid #f0d7a8;
}

.status__inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  font-size: 0.95rem;
}

.status__icon {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  color: var(--accent);
}

.status strong {
  font-weight: 700;
}

.status p {
  margin: 0.15rem 0 0;
  color: #8a5a1a;
  max-width: 72ch;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 251, 254, 0.86);
  border-bottom: 1px solid rgba(215, 227, 236, 0.8);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo img {
  width: 188px;
  height: auto;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.phone {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  line-height: 1.2;
}

.phone span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.phone strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.phone:hover strong {
  color: var(--blue);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header__cta:hover {
  background: var(--blue-deep);
  color: #fff;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  padding: 4.2rem 0 3.4rem;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 22, 34, 0.94) 0%, rgba(8, 22, 34, 0.82) 48%, rgba(8, 22, 34, 0.58) 100%),
    linear-gradient(180deg, rgba(8, 22, 34, 0.35) 0%, rgba(8, 22, 34, 0.62) 100%);
}

.hero__content {
  max-width: 40rem;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  color: #fff;
}

.hero__lead {
  margin: 1.15rem 0 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 44ch;
}

.hero__lead strong {
  color: #fff;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
}

.hero .btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
}

.hero .btn--primary {
  background: #fff;
  color: var(--blue-deep);
}

.hero .btn--primary:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 36rem;
}

.stat strong {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Sections */
section {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0;
}

.section-head p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Notice block */
.notice {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.35rem 1.4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(28, 36, 48, 0.04);
}

.notice__badge {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sand);
  color: var(--accent);
}

.notice h2 {
  margin: 0;
  font-size: 1.4rem;
}

.notice p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  max-width: 70ch;
}

.notice__ways {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--blue-mist);
  color: var(--blue-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid transparent;
}

.chip:hover {
  border-color: rgba(26, 128, 182, 0.35);
  color: var(--blue-deep);
}

.chip svg {
  width: 1rem;
  height: 1rem;
}

/* Internal article pages */
.page-article .header {
  position: sticky;
}

.article {
  padding: 2rem 0 3.5rem;
}

.article__wrap {
  max-width: 760px;
}

.article__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.article__nav a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.article__nav a:hover {
  text-decoration: underline;
}

.article h1 {
  margin: 0 0 1.25rem;
  max-width: 28ch;
}

.article__content {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.article__content h2,
.article__content h3,
.article__content h4 {
  color: var(--ink);
  margin: 1.8rem 0 0.7rem;
}

.article__content p {
  margin: 0 0 1rem;
  max-width: 68ch;
}

.article__content ul,
.article__content ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
  max-width: 68ch;
}

.article__content li {
  margin: 0.35rem 0;
}

.article__content a {
  color: var(--blue);
}

.article__content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.25rem 0;
  border-radius: 12px;
}

.article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.95rem;
}

.article__content th,
.article__content td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
}

.article__cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.article__cta h2 {
  margin: 0;
  font-size: 1.45rem;
}

.article__cta p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.article__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

@media (max-width: 640px) {
  .article h1 {
    max-width: none;
  }
}

/* Restored pages list */
.mirror {
  padding-top: 2.5rem;
}

.mirror__cols {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem 2.5rem;
}

.mirror h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--blue-deep);
}

.mirror__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.mirror__list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
}

.mirror__list a:hover {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .mirror__cols {
    grid-template-columns: 1fr;
  }
}

/* Services */
.services {
  background: linear-gradient(180deg, transparent, rgba(243, 250, 255, 0.85) 12%, rgba(243, 250, 255, 0.85) 88%, transparent);
}

.services__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.3rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service:hover {
  border-color: rgba(26, 128, 182, 0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.service__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.service h3 {
  margin: 0;
  font-size: 1.25rem;
}

.service__price {
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue);
}

.service p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Why */
.why__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.why__points {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why__points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.why__points li:last-child {
  border-bottom: 0;
}

.why__num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 800;
  font-size: 0.85rem;
}

.why__points h3 {
  margin: 0;
  font-size: 1.25rem;
}

.why__points p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.why__aside {
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.why__aside::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(26, 128, 182, 0.55), transparent 70%);
  pointer-events: none;
}

.why__aside-top {
  display: flex;
  gap: 1rem;
  align-items: center;
  position: relative;
}

.why__aside img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.why__aside h3 {
  margin: 0;
  font-size: 1.25rem;
}

.why__aside .role {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.why__aside blockquote {
  position: relative;
  margin: 1.2rem 0 0;
  padding: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.why__metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.why__metrics strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.why__metrics span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Contact */
.contact {
  padding-bottom: 4rem;
}

.contact__box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact__main {
  padding: 1.8rem 1.8rem 1.9rem;
}

.contact__main h2 {
  margin: 0;
}

.contact__main > p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 40ch;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.contact__side {
  background: linear-gradient(160deg, #166a97, #1a80b6 55%, #2393cc);
  color: #fff;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact__side h3 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
}

.contact__side dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.contact__side dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
  margin: 0 0 0.15rem;
}

.contact__side dd {
  margin: 0;
  font-weight: 600;
}

.contact__side a {
  color: #fff;
  text-decoration: none;
}

.contact__side a:hover {
  text-decoration: underline;
}

.contact__hours {
  font-size: 0.92rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--blue);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .reveal-delay {
    animation-delay: 0.12s;
  }

  .reveal-delay-2 {
    animation-delay: 0.22s;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
      filter: blur(4px);
    }
    to {
      opacity: 1;
      transform: none;
      filter: none;
    }
  }
}

/* Responsive */
@media (max-width: 900px) {
  .why__grid,
  .contact__box,
  .services__list {
    grid-template-columns: 1fr;
  }

  .header__contacts .phone:nth-child(2) {
    display: none;
  }

  .hero {
    padding: 3rem 0 2.6rem;
  }

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

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 1.25rem, var(--max));
  }

  .header__cta span {
    display: none;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .hero h1 {
    max-width: none;
  }

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

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

  .status__inner {
    gap: 0.75rem;
  }

  .contact__main,
  .contact__side {
    padding: 1.35rem;
  }
}

@media (max-width: 420px) {
  .header__contacts .phone {
    display: none;
  }
}
