/*
Theme Name: ctroiteli
Theme URI: http://ctroiteli.сдемрождения.рф
Author: ctroiteli
Description: Кастомная тема для сайта строительной компании «Инициатива-Групп». Тёмно-синий #0E1F3D + бежевый #F1EADC, Golos Text, минимализм.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ctroiteli
*/

:root {
  --navy: #0E1F3D;
  --navy-soft: #16294d;
  --navy-hover: #1A3060;
  --beige: #F1EADC;
  --beige-deep: #e7ddc9;
  --white: #FFFFFF;
  --text-dark: #0E1F3D;
  --text-light: #F1EADC;
  --muted-light: rgba(241, 234, 220, 0.72);
  --muted-dark: rgba(14, 31, 61, 0.66);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 10px 30px rgba(14, 31, 61, 0.08);
  --container: 1200px;
  --section-pad: 92px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Golos Text', 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
.h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.h3 { font-size: 20px; font-weight: 600; line-height: 1.35; }

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 2px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
  opacity: 0.55;
}

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; scroll-margin-top: 96px; }

.section--light { background: var(--beige); color: var(--text-dark); }
.section--white { background: var(--white); color: var(--text-dark); }
.section--dark { background: var(--navy); color: var(--text-light); }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p.lead { margin-top: 16px; color: var(--muted-dark); font-size: 18px; }
.section--dark .section-head p.lead { color: var(--muted-light); }

@media (max-width: 768px) {
  :root { --section-pad: 60px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border: none;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { background: var(--navy-hover); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(14, 31, 61, 0.22); }
.btn:active { transform: translateY(0); }

.btn--beige { background: var(--beige); color: var(--navy); }
.btn--beige:hover { background: var(--white); color: var(--navy); box-shadow: 0 12px 26px rgba(0,0,0,0.25); }

.btn--ghost {
  background: transparent;
  color: var(--text-light);
  box-shadow: inset 0 0 0 1.5px rgba(241, 234, 220, 0.55);
}
.btn--ghost:hover { background: rgba(241, 234, 220, 0.08); box-shadow: inset 0 0 0 1.5px var(--beige); transform: translateY(-2px); }

.btn--sm { padding: 12px 22px; font-size: 15px; }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(14, 31, 61, 0.08);
}

.header__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.header__logo { display: flex; align-items: center; flex-shrink: 0; }
.header__logo img { height: 44px; width: auto; }

.header__nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }

.header__nav a.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.header__nav a.nav-link:hover { opacity: 1; color: var(--navy); }

.header__contacts { display: flex; align-items: center; gap: 18px; margin-left: auto; flex-shrink: 0; }

.header__phone { display: flex; flex-direction: column; text-align: right; text-decoration: none; }
.header__phone b { font-size: 17px; font-weight: 700; color: var(--text-dark); letter-spacing: 0.01em; }
.header__phone span { font-size: 12px; color: var(--muted-dark); }

.header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(14, 31, 61, 0.18);
  color: var(--navy);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.header__icon:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.header__icon svg { width: 19px; height: 19px; }

.header__cta { margin-left: 4px; }

/* burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1.5px solid rgba(14, 31, 61, 0.18);
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
}
.burger span { display: block; height: 2px; width: 100%; background: var(--navy); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .header__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 24px 20px; border-bottom: 1px solid rgba(14,31,61,0.08); box-shadow: 0 24px 40px rgba(14,31,61,0.12); }
  .header__nav.is-open { display: flex; }
  .header__nav a.nav-link { padding: 12px 0; width: 100%; font-size: 14px; }
  .burger { display: flex; }
  .header__in { flex-wrap: wrap; }
  .header__contacts { margin-left: auto; }
}

@media (max-width: 640px) {
  .header__phone { display: none; }
  .header__in { gap: 14px; min-height: 68px; }
  .header__cta .btn { padding: 12px 18px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero { padding: 84px 0 96px; background: var(--beige); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.hero__label { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.hero__label::before { content: ''; width: 26px; height: 2px; background: var(--navy); opacity: 0.4; }

.hero h1 { margin-bottom: 22px; }

.hero__sub { font-size: 19px; line-height: 1.65; color: var(--muted-dark); max-width: 560px; margin-bottom: 34px; }

.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 30px 0 0; padding-top: 26px; border-top: 1px solid rgba(14, 31, 61, 0.12); }
.hero__facts li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--text-dark); }
.hero__facts svg { width: 18px; height: 18px; color: var(--navy); flex-shrink: 0; }

.hero__img { position: relative; }
.hero__img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); display: block; }
.hero__img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(14, 31, 61, 0.06);
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 64px; }
}

/* ---------- Steps (problema / rabota) ---------- */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }

.step-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(241, 234, 220, 0.16);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--navy);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 20px;
}

.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--muted-light); font-size: 15.5px; }
.step-card .btn { margin-top: 22px; }

.steps--4 .step-card { text-align: center; padding: 34px 22px; }
.steps--4 .step-card__num { margin-bottom: 16px; }
.steps--4 .step-card h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.step-arrow { display: flex; align-items: center; justify-content: center; color: var(--navy); opacity: 0.35; }
.step-arrow svg { width: 26px; height: 26px; }

.steps--4-wrap { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 8px; }

/* Steps with photo (rabota) */
#rabota .step-card--photo {
  background: var(--white);
  border: 1px solid rgba(14, 31, 61, 0.08);
  box-shadow: var(--shadow-card);
  padding: 0 0 24px;
  overflow: hidden;
}
#rabota .step-card--photo .step-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}
#rabota .step-card--photo .step-card__body { padding: 24px 16px 0; }
#rabota .step-card--photo .step-card__num { margin-bottom: 14px; }
#rabota .step-card--photo h3 { color: var(--text-dark); }

@media (max-width: 960px) {
  .steps--4-wrap { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); padding: 4px 0; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  #rabota .step-card--photo .step-card__img { height: 200px; }
}

/* ---------- Promo / tender ---------- */
.promo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.promo__text h2 { margin-bottom: 16px; }
.promo__text p { color: var(--muted-dark); font-size: 18px; max-width: 520px; margin-bottom: 28px; }

.promo__badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: var(--shadow-card);
}
.promo__badge svg { width: 30px; height: 30px; flex-shrink: 0; }

/* ---------- Vidy cards ---------- */
.vidy-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 44px; }
.vidy-grid--sub { grid-template-columns: repeat(4, 1fr); }

.vidy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(241, 234, 220, 0.16);
  border-radius: var(--radius-lg);
  padding: 28px 16px 24px;
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.vidy-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.09); border-color: rgba(241, 234, 220, 0.34); }

.vidy-card svg { width: 34px; height: 34px; color: var(--beige); }
.vidy-card b { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.vidy-card span { font-size: 12.5px; color: var(--muted-light); }

/* Vidy cards with photo */
.vidy-card--photo { padding: 0 0 22px; overflow: hidden; }
.vidy-card--photo .vidy-card__img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}
.vidy-card--photo .vidy-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 14px 0;
  width: 100%;
}

@media (max-width: 1000px) {
  .vidy-grid { grid-template-columns: repeat(3, 1fr); }
  .vidy-grid--sub { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .vidy-grid { grid-template-columns: repeat(2, 1fr); }
  .vidy-grid--sub { grid-template-columns: 1fr 1fr; }
  .vidy-card--photo .vidy-card__img { height: 110px; }
}

/* ---------- Why we ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 44px; }

.why-col { background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(241, 234, 220, 0.16); border-radius: var(--radius-lg); padding: 34px 32px; }
.why-col h3 { font-size: 18px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.why-col h3 svg { width: 22px; height: 22px; }

.why-col ul { display: flex; flex-direction: column; gap: 14px; }
.why-col li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.55; color: var(--muted-light); }
.why-col li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.why-col li b { color: var(--text-light); font-weight: 600; }

.why-col--bad svg { color: #d99a8f; }
.why-col--good svg { color: #9fc6a8; }

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

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
}
.review-card:hover { transform: translateY(-4px); }
.review-card img { width: 100%; border-radius: 10px; display: block; }
.review-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 6px 4px;
  flex: 1;
}
.review-card__title { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--text-dark); }
.review-card__text { font-size: 13.5px; line-height: 1.6; color: var(--muted-dark); }
.review-card__author {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.8;
  border-top: 1px solid rgba(14, 31, 61, 0.08);
}

@media (max-width: 960px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card__text { font-size: 14.5px; }
}

/* ---------- Job (soiskatelyam) ---------- */
.job-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }

.job-list { display: flex; flex-direction: column; gap: 20px; margin: 30px 0 34px; }
.job-list li { display: flex; gap: 16px; align-items: flex-start; }
.job-list svg { width: 24px; height: 24px; color: var(--beige); flex-shrink: 0; margin-top: 2px; }
.job-list b { display: block; font-size: 16.5px; font-weight: 600; color: var(--text-light); }
.job-list span { color: var(--muted-light); font-size: 15px; }

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

/* ---------- Map & contacts ---------- */
.map-grid { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: stretch; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); min-height: 420px; background: #e8e2d5; }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.contacts-card { background: var(--navy); color: var(--text-light); border-radius: var(--radius-lg); padding: 36px 32px; display: flex; flex-direction: column; gap: 22px; }
.contacts-card h3 { font-size: 20px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.contacts-card a.c-tel { display: flex; flex-direction: column; text-decoration: none; }
.contacts-card a.c-tel b { font-size: 21px; font-weight: 700; color: var(--text-light); }
.contacts-card a.c-tel span { font-size: 13px; color: var(--muted-light); }
.contacts-card a.c-tel:hover b { color: var(--white); }

.c-row { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--muted-light); }
.c-row svg { width: 20px; height: 20px; color: var(--beige); flex-shrink: 0; }

.contacts-card .btn { margin-top: 6px; }

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

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.faq-item { background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(241, 234, 220, 0.16); border-radius: 14px; overflow: hidden; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-light);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 26px;
  font-weight: 400;
  color: var(--beige);
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 26px 24px; color: var(--muted-light); font-size: 15.5px; line-height: 1.65; }

/* ---------- Inline form ---------- */
.ctr-form { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 460px; }

.ctr-form .field { position: relative; }
.ctr-form input[type="text"], .ctr-form input[type="tel"] {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid rgba(241, 234, 220, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-light);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ctr-form input::placeholder { color: rgba(241, 234, 220, 0.5); }
.ctr-form input:focus { border-color: var(--beige); background: rgba(255, 255, 255, 0.1); }
.ctr-form input.error { border-color: #e07a6a; }

.ctr-form .hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ctr-form .form-note { font-size: 13px; color: var(--muted-light); line-height: 1.5; }

.ctr-form .form-msg { display: none; font-size: 15px; font-weight: 600; color: var(--beige); padding: 14px 0 4px; }
.ctr-form .form-msg.show { display: block; }
.ctr-form .form-msg.error { color: #e8a08d; }

/* Light variant of the form (on light sections / modal) */
.ctr-form--light input[type="text"], .ctr-form--light input[type="tel"] {
  border: 1.5px solid rgba(14, 31, 61, 0.22);
  background: var(--white);
  color: var(--text-dark);
}
.ctr-form--light input::placeholder { color: rgba(14, 31, 61, 0.45); }
.ctr-form--light input:focus { border-color: var(--navy); }
.ctr-form--light .form-note { color: var(--muted-dark); }
.ctr-form--light .form-msg { color: var(--navy); }
.ctr-form--light .form-msg.error { color: #b34a38; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }

.modal__overlay { position: absolute; inset: 0; background: rgba(14, 31, 61, 0.55); backdrop-filter: blur(3px); }

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px 40px;
  box-shadow: 0 30px 80px rgba(14, 31, 61, 0.35);
  animation: modal-in 0.25s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: none;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--navy);
  opacity: 0.5;
  transition: opacity 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal__close:hover { opacity: 1; background: var(--beige); }
.modal__close svg { width: 20px; height: 20px; }

.modal__title { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.modal__sub { color: var(--muted-dark); font-size: 15px; margin-bottom: 26px; }

body.modal-locked { overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--text-light); padding: 64px 0 0; }

.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }

.footer__logo img { height: 44px; width: auto; }
.footer__about { margin-top: 18px; font-size: 14.5px; color: var(--muted-light); max-width: 320px; line-height: 1.6; }

.footer h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 20px; }

.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { font-size: 15px; color: var(--text-light); text-decoration: none; opacity: 0.85; transition: opacity 0.2s ease; }
.footer__nav a:hover { opacity: 1; }

.footer__phones { display: flex; flex-direction: column; gap: 12px; }
.footer__phones a { font-size: 18px; font-weight: 600; color: var(--text-light); text-decoration: none; }
.footer__phones a:hover { color: var(--white); }
.footer__phones span { font-size: 13.5px; color: var(--muted-light); }

.footer__socials { display: flex; gap: 12px; margin-top: 18px; }

.footer__bottom { border-top: 1px solid rgba(241, 234, 220, 0.14); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--muted-light); }
.footer__bottom a { color: var(--muted-light); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--white); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- SEO pages ---------- */
.seo-hero { background: var(--beige); padding: 72px 0 80px; }
.seo-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.seo-hero__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); min-height: 320px; background: var(--beige-deep); display: flex; align-items: center; justify-content: center; }
.seo-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seo-hero__img .ph { display: flex; flex-direction: column; align-items: center; gap: 12px; color: rgba(14,31,61,0.4); font-size: 14px; padding: 40px; text-align: center; }
.seo-hero__img .ph svg { width: 44px; height: 44px; }

.breadcrumbs { font-size: 13.5px; color: var(--muted-dark); margin-bottom: 26px; }
.breadcrumbs a { color: var(--muted-dark); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumbs span.sep { margin: 0 8px; opacity: 0.5; }
.breadcrumbs .cur { color: var(--navy); font-weight: 500; }

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

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-list li {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(241, 234, 220, 0.16);
  border-radius: 14px;
  padding: 20px 22px;
  font-size: 15.5px;
  color: var(--muted-light);
  line-height: 1.55;
}
.feature-list li b { color: var(--text-light); font-weight: 600; }
.feature-list svg { width: 20px; height: 20px; color: var(--beige); flex-shrink: 0; margin-top: 2px; }

@media (max-width: 800px) {
  .feature-list { grid-template-columns: 1fr; }
}

/* light variants */
.feature-list--light li { background: var(--white); border: 1px solid rgba(14, 31, 61, 0.09); color: var(--muted-dark); }
.feature-list--light li b { color: var(--text-dark); }
.feature-list--light svg { color: var(--navy); }

.faq-list--light .faq-item { background: var(--white); border: 1px solid rgba(14, 31, 61, 0.1); }
.faq-list--light .faq-item summary { color: var(--text-dark); }
.faq-list--light .faq-item summary::after { color: var(--navy); }
.faq-list--light .faq-a { color: var(--muted-dark); }

.cta-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.cta-panel h2 { margin-bottom: 14px; }
.cta-panel p { color: var(--muted-light); max-width: 520px; margin-bottom: 26px; }
.cta-panel .form-note { margin-top: 0; }

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

/* ---------- Page (privacy etc.) ---------- */
.page-body { background: var(--white); padding: 72px 0 96px; }
.page-body .content { max-width: 860px; }
.page-body h1 { margin-bottom: 28px; }
.page-body h2 { font-size: 24px; margin: 34px 0 14px; }
.page-body p { margin-bottom: 16px; color: var(--text-dark); }
.page-body ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.page-body li { margin-bottom: 8px; }
.page-body a { color: var(--navy); }

/* ---------- 404 ---------- */
.error-page { background: var(--beige); padding: 120px 0; text-align: center; }
.error-page h1 { font-size: 90px; line-height: 1; margin-bottom: 12px; }
.error-page p { color: var(--muted-dark); margin-bottom: 30px; }

/* ---------- misc ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.anchor-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
