/*
Theme Name: IzhWoodService
Theme URI: https://izhwoodservice.ru/
Author: IzhWoodService
Description: Блочная тема сайта лестниц, мебели, кухонь и дверей ИжВудСервис.
Version: 1.0.27
Requires at least: 7.0
Requires PHP: 8.3
Text Domain: izhwoodservice
*/

:root {
  --izh-color-ink: #161815;
  --izh-color-ink-soft: #242621;
  --izh-color-surface: #f4f1eb;
  --izh-color-paper: #fffdf9;
  --izh-color-accent: #d86132;
  --izh-color-accent-dark: #b94920;
  --izh-color-muted: #6f716b;
  --izh-color-line: rgba(22, 24, 21, 0.15);
  --izh-radius-control: 12px;
  --izh-radius-card: 16px;
  --izh-shadow-card: 0 18px 50px rgba(21, 22, 19, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--izh-color-surface);
  color: var(--izh-color-ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
select,
textarea,
.wp-element-button {
  border-radius: var(--izh-radius-control);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.content-shell {
  margin: 0 auto;
  max-width: 920px;
  min-height: 60vh;
  padding: 160px 24px 80px;
}

.page-shell {
  margin: 0 auto;
  max-width: 1120px;
  min-height: 70vh;
  padding: 150px 24px 96px;
}

.page-article {
  background: var(--izh-color-paper);
  border: 1px solid var(--izh-color-line);
  border-radius: 24px;
  box-shadow: var(--izh-shadow-card);
  overflow: hidden;
}

.page-article__header {
  background: var(--izh-color-ink);
  color: #fff;
  padding: clamp(32px, 6vw, 72px);
}

.page-article__back {
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  gap: 8px;
  margin-bottom: 48px;
  text-decoration: none;
}

.page-article__back:hover,
.page-article__back:focus-visible {
  color: #fff;
}

.page-article__eyebrow {
  color: var(--izh-color-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.page-article__header h1 {
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -0.05em;
  line-height: 1.04;
  margin: 0;
  max-width: 900px;
}

.page-article__content {
  color: #3f423d;
  font-size: 17px;
  padding: clamp(32px, 6vw, 72px);
}

.page-article__content > * {
  max-width: 840px;
}

.page-article__content .legal-intro {
  color: var(--izh-color-ink);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 52px;
}

.page-article__content h2 {
  color: var(--izh-color-ink);
  font-size: clamp(23px, 3vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 48px 0 16px;
}

.page-article__content p,
.page-article__content li {
  line-height: 1.75;
}

.page-article__content ul {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  padding-left: 24px;
}

.page-article__content a {
  color: var(--izh-color-accent-dark);
  font-weight: 650;
  text-underline-offset: 3px;
}

.legal-contact {
  background: var(--izh-color-surface);
  border-left: 4px solid var(--izh-color-accent);
  border-radius: 0 14px 14px 0;
  line-height: 1.9;
  margin-top: 48px;
  padding: 24px 28px;
}

.thank-you-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 78vh;
  padding: 150px 24px 88px;
}

.thank-you-card {
  background: var(--izh-color-paper);
  border: 1px solid var(--izh-color-line);
  border-radius: 24px;
  box-shadow: var(--izh-shadow-card);
  max-width: 820px;
  padding: clamp(36px, 7vw, 76px);
  text-align: center;
  width: 100%;
}

.thank-you-card__icon {
  align-items: center;
  background: var(--izh-color-accent);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 34px;
  font-weight: 800;
  height: 72px;
  justify-content: center;
  margin-bottom: 28px;
  width: 72px;
}

.thank-you-card h1 {
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1.06;
  margin: 0 0 24px;
}

.thank-you-card__content {
  color: var(--izh-color-muted);
  font-size: 18px;
  margin: 0 auto;
  max-width: 620px;
}

.thank-you-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 640px) {
  .page-shell,
  .thank-you-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .page-article {
    border-radius: 18px;
  }

  .page-article__back {
    margin-bottom: 32px;
  }

  .page-article__content {
    font-size: 15px;
  }

  .thank-you-card__actions {
    flex-direction: column;
  }

  .thank-you-card__actions .button {
    width: 100%;
  }
}
