/*
Theme Name: ВебВиро
Theme URI: https://webviro.ru/
Author: ВебВиро
Description: Легкая собственная тема для сервиса «ВебВиро — визуальные решения онлайн». Без сайдбаров и конструкторов страниц, с широкой рабочей областью для сервисов.
Version: 0.2.6
Text Domain: webviro
*/

:root {
  --wv-text: #172033;
  --wv-muted: #667085;
  --wv-line: #deded8;
  --wv-bg: #f3f1ec;
  --wv-card: #fffdfa;
  --wv-accent: #315ed8;
  --wv-navy: #172033;
  --wv-coral: #d77961;
  --wv-sage: #789a88;
  --wv-lilac: #8d82bb;
  --wv-sand: #eadfce;
  --wv-sky: #dfe8f7;
  --wv-content: 1240px;
  --wv-wide: 1400px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wv-bg);
  color: var(--wv-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

/* Wide content shell. Service plugins can keep their own inner max-width. */
.wv-shell {
  width: min(calc(100% - 48px), var(--wv-wide));
  margin-inline: auto;
}

/* Header */
.wv-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--wv-line);
  background: rgba(255, 253, 250, .97);
}
.wv-header__inner {
  width: min(calc(100% - 48px), var(--wv-content));
  min-height: 78px;
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wv-header__brand { min-width: 0; }
.wv-brand,
.wv-header .custom-logo-link {
  display: inline-flex;
  color: var(--wv-text);
  text-decoration: none;
}
.wv-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1;
}
.wv-brand__name {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.wv-brand__name::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 7px;
  border-radius: 2px;
  background: var(--wv-coral);
  transform: translateY(-1px);
}
.wv-brand__tagline {
  margin-top: 4px;
  color: var(--wv-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .015em;
  text-transform: lowercase;
}
.wv-header .custom-logo {
  display: block;
  width: auto;
  max-height: 42px;
}

.wv-nav__list,
.wv-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wv-nav a {
  color: #344054;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color .15s ease;
}
.wv-nav a:hover,
.wv-nav a:focus-visible { color: var(--wv-accent); }

/* Main */
.wv-main {
  min-height: calc(100vh - 149px);
  padding: 54px 0 96px;
}
.wv-page-title {
  width: min(100%, var(--wv-content));
  margin: 0 auto 28px;
  padding-inline: 20px;
  color: #111111;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.wv-entry,
.wv-entry > * { max-width: none; }
.wv-entry::after {
  content: "";
  display: table;
  clear: both;
}

/* Keep service intro aligned with H1 when plugin is centered at 1240px. */
.wv-entry > .wv-price,
.wv-entry > .wv-ann,
.wv-entry > .wv-check,
.wv-entry > .wv-schedule {
  margin-top: 0;
}


/* Service page finishing details */
.wv-page-title {
  position: relative;
}
.wv-page-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--wv-coral);
}

/* Footer */
.wv-footer {
  border-top: 1px solid var(--wv-line);
  color: var(--wv-muted);
  background: #fffaf3;
}
.wv-footer__inner {
  width: min(calc(100% - 48px), var(--wv-content));
  min-height: 88px;
  margin-inline: auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 14px;
}
.wv-footer__brandline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.wv-footer__brand {
  color: var(--wv-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
}
.wv-footer__tagline {
  color: var(--wv-muted);
  font-size: 13px;
}
.wv-footer__list,
.wv-footer__menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wv-footer__menu a {
  color: var(--wv-muted);
  text-decoration: none;
}
.wv-footer__menu a:hover,
.wv-footer__menu a:focus-visible { color: var(--wv-accent); }

.wv-empty {
  padding: 60px 20px;
  color: var(--wv-muted);
}

@media (max-width: 760px) {
  .wv-shell { width: min(calc(100% - 28px), var(--wv-wide)); }
  .wv-header__inner {
    width: calc(100% - 28px);
    min-height: 62px;
    padding-inline: 0;
  }
  .wv-brand__name { font-size: 21px; }
  .wv-brand__tagline { font-size: 10px; }
  .wv-nav { display: none; }

  .wv-main { padding: 32px 0 58px; }
  .wv-page-title {
    width: 100%;
    margin-bottom: 20px;
    padding-inline: 0;
    font-size: clamp(36px, 11vw, 52px);
  }

  .wv-footer__inner {
    width: calc(100% - 28px);
    min-height: 0;
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .wv-footer__brandline { flex-wrap: wrap; }
  .wv-footer__list,
  .wv-footer__menu ul {
    justify-content: flex-start;
    gap: 10px 18px;
  }
}


/* =========================================================
   Front page
   ========================================================= */
.wv-home {
  padding: 38px 0 96px;
}
.wv-home__inner {
  width: min(calc(100% - 48px), var(--wv-content));
  margin-inline: auto;
  padding-inline: 20px;
}
.wv-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 64px;
  align-items: center;
  min-height: 560px;
  padding: 58px 64px;
  overflow: hidden;
  border: 1px solid rgba(23,32,51,.08);
  border-radius: 34px;
  background: var(--wv-card);
  box-shadow: 0 24px 70px rgba(23,32,51,.07);
}
.wv-home-hero::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -115px;
  border-radius: 50%;
  background: var(--wv-sand);
  opacity: .72;
}
.wv-home-hero::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  left: -42px;
  bottom: 34px;
  border-radius: 24px;
  background: var(--wv-sky);
  transform: rotate(18deg);
  opacity: .8;
}
.wv-home-hero__content,
.wv-home-hero__visual {
  position: relative;
  z-index: 2;
}
.wv-home-hero__eyebrow,
.wv-home-section__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 14px;
  padding: 0 10px;
  border-radius: 999px;
  color: #244bb7;
  background: #e8eefc;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wv-home-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--wv-navy);
  font-size: clamp(54px, 6.1vw, 84px);
  line-height: .98;
  letter-spacing: -0.052em;
  font-weight: 500;
}
.wv-home-hero__lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--wv-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}
.wv-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.wv-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--wv-line);
  border-radius: 14px;
  color: var(--wv-text);
  background: #fffdfa;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}
.wv-home-button--primary {
  border-color: var(--wv-accent);
  color: #fff;
  background: var(--wv-accent);
  box-shadow: 0 10px 24px rgba(49,94,216,.18);
}
.wv-home-button:hover,
.wv-home-button:focus-visible { transform: translateY(-1px); }

.wv-home-hero__visual {
  position: relative;
  min-height: 430px;
}
.wv-home-stack {
  position: relative;
  width: 100%;
  height: 430px;
}
.wv-home-stack__card {
  position: absolute;
  width: 280px;
  min-height: 340px;
  padding: 28px;
  border: 1px solid rgba(23, 32, 51, .08);
  border-radius: 24px;
  background: #fffaf3;
  box-shadow: 0 22px 60px rgba(23, 32, 51, .13);
}
.wv-home-stack__card--back {
  top: 34px;
  left: 0;
  transform: rotate(-7deg);
  background: var(--wv-navy);
  color: #fff;
}
.wv-home-stack__card--front {
  top: 0;
  right: 0;
  z-index: 2;
  transform: rotate(4deg);
}
.wv-home-stack__kicker {
  margin: 0 0 24px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wv-home-stack__title {
  margin: 0 0 24px;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
}
.wv-home-stack__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(102, 112, 133, .28);
  font-size: 13px;
  font-weight: 700;
}
.wv-home-stack__card--back .wv-home-stack__row {
  border-color: rgba(255,255,255,.2);
}
.wv-home-stack__note {
  margin-top: 26px;
  color: var(--wv-muted);
  font-size: 12px;
}
.wv-home-stack__card--back .wv-home-stack__note { color: #cbd2df; }

.wv-home-section {
  padding: 74px 0 0;
}
.wv-home-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}
.wv-home-section h2 {
  margin: 0;
  color: #111;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 500;
}
.wv-home-section__text {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--wv-muted);
  font-size: 17px;
}


.wv-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.wv-service-card {
  position: relative;
  min-height: 310px;
  padding: 26px 26px 30px;
  overflow: hidden;
  border: 1px solid #ced8ed;
  border-radius: 24px;
  background: #dfe8f7;
  box-shadow: 0 18px 40px rgba(23,32,51,.07);
}
.wv-service-card--ready {
  border-color: #c7d4ef;
  background: #dfe8f7;
  box-shadow: 0 22px 48px rgba(23,32,51,.09);
}
a.wv-service-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
a.wv-service-card:hover,
a.wv-service-card:focus-visible {
  transform: translateY(-4px);
  border-color: #bac8e3;
  background: #d8e3f5;
  box-shadow: 0 26px 56px rgba(23,32,51,.12);
}
.wv-service-card__icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin: 0 0 24px;
  border-radius: 14px;
  color: #ffffff;
  background: #d77961;
  box-shadow: 0 10px 22px rgba(215,121,97,.22);
}
.wv-service-card:not(.wv-service-card--ready) .wv-service-card__icon {
  color: #ffffff;
  background: #d77961;
  box-shadow: 0 8px 18px rgba(215,121,97,.18);
}
.wv-service-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}
.wv-service-card h3 {
  margin: 0 0 10px;
  max-width: calc(100% - 32px);
  color: #101828;
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: -.028em;
}
.wv-service-card p {
  max-width: 325px;
  min-height: 44px;
  margin: 0;
  color: #596273;
  font-size: 14px;
  line-height: 1.55;
}
.wv-service-card__status {
  position: absolute;
  top: 28px;
  right: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #6d7788;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}
.wv-service-card__status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #a7b3c6;
}
.wv-service-card--ready .wv-service-card__status {
  color: #172033;
}
.wv-service-card--ready .wv-service-card__status::before {
  background: #d77961;
  box-shadow: 0 0 0 4px rgba(215,121,97,.10);
}

/* Mini previews inside service cards */
.wv-service-card__preview {
  min-height: 92px;
  margin-top: 22px;
  padding: 16px 17px;
  border: 1px solid rgba(23,32,51,.07);
  border-radius: 14px;
  background: rgba(255,255,255,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62);
  color: #172033;
}
.wv-service-card:not(.wv-service-card--ready) .wv-service-card__preview {
  opacity: .72;
}
.wv-mini-price,
.wv-mini-schedule {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 21px;
  font-size: 11px;
}
.wv-mini-price + .wv-mini-price,
.wv-mini-schedule + .wv-mini-schedule { margin-top: 4px; }
.wv-mini-price span { flex: 1; color: #596273; }
.wv-mini-price strong { font-size: 11px; }
.wv-mini-label {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  background: #d77961;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .07em;
}
.wv-mini-title { display: block; margin-bottom: 8px; font-size: 13px; line-height: 1.1; }
.wv-mini-line { display: block; width: 58%; height: 4px; margin-top: 5px; border-radius: 99px; background: #cdd7e8; }
.wv-mini-line--wide { width: 84%; }
.wv-mini-check,
.wv-mini-step {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 20px;
  color: #4e596b;
  font-size: 10.5px;
}
.wv-mini-check + .wv-mini-check,
.wv-mini-step + .wv-mini-step { margin-top: 4px; }
.wv-mini-check b { color: #d77961; font-size: 12px; }
.wv-mini-step b {
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #d77961;
  font-size: 9px;
}
.wv-mini-schedule span { width: 20px; color: #596273; }
.wv-mini-schedule em { flex: 1; height: 1px; background: #cbd5e5; }
.wv-mini-schedule strong { font-size: 10.5px; }
.wv-mini-contacts { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.wv-mini-contacts > div { display: grid; gap: 7px; font-size: 10.5px; }
.wv-mini-contacts > div span { color: #596273; }
.wv-mini-qr {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 7px);
  grid-template-rows: repeat(2, 7px);
  gap: 3px;
  width: 35px;
  height: 35px;
  padding: 4px;
  border: 1px solid #172033;
  background: #fff;
}
.wv-mini-qr u { display: block; background: #172033; text-decoration: none; }
.wv-mini-qr u:nth-child(2), .wv-mini-qr u:nth-child(4) { background: transparent; border: 1px solid #172033; }

.wv-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.wv-step {
  min-height: 220px;
  padding: 30px;
  border: 1px solid rgba(23,32,51,.08);
  border-radius: 22px;
  background: rgba(255,253,250,.72);
}
.wv-step:nth-child(2) { background: #f8f2ea; }
.wv-step:nth-child(3) { background: #edf3ef; }
.wv-step__number {
  display: block;
  margin-bottom: 30px;
  color: var(--wv-accent);
  font-size: 13px;
  font-weight: 800;
}
.wv-step h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -.02em;
}
.wv-step p {
  margin: 0;
  color: var(--wv-muted);
  font-size: 15px;
}

.wv-example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.wv-example {
  min-height: 330px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--wv-line);
  border-radius: 20px;
  background: #fffaf3;
}
.wv-example--dark { background: #172033; color: #fff; }
.wv-example--soft { background: #efe3d6; }
.wv-example--blue { background: #dfe8f7; }
.wv-example__label {
  margin: 0 0 32px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wv-example h3 {
  margin: 0 0 26px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.wv-example__line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(102,112,133,.18);
  font-size: 13px;
}
.wv-example--dark .wv-example__line { border-color: rgba(255,255,255,.16); }
.wv-example__checks {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  font-size: 14px;
}
.wv-example__checks span::before {
  content: "✓";
  margin-right: 9px;
  color: var(--wv-accent);
  font-weight: 800;
}
.wv-example__days {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
  font-size: 13px;
}

.wv-home-info {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  padding: 38px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  color: #fff;
  background: var(--wv-navy);
  box-shadow: 0 24px 60px rgba(23,32,51,.14);
}
.wv-home-info .wv-home-section__eyebrow {
  color: #8fa9ff;
  background: rgba(255,255,255,.08);
}
.wv-home-info h2 { color: #fff; }
.wv-home-info h2 {
  font-size: clamp(32px, 3.5vw, 46px);
}
.wv-home-info__copy p {
  margin: 0 0 16px;
  color: #d6dbe5;
  font-size: 16px;
}
.wv-home-info__copy p:last-child { margin-bottom: 0; }

@media (max-width: 980px) {
  .wv-home-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .wv-home-hero__visual { display: none; }
  .wv-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wv-example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wv-home-info { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 640px) {
  .wv-home { padding: 28px 0 58px; }
  .wv-home__inner {
    width: calc(100% - 28px);
    padding-inline: 0;
  }
  .wv-home-hero { min-height: 0; padding: 30px 24px 34px; border-radius: 24px; }
  .wv-home-hero h1 { font-size: clamp(46px, 15vw, 64px); }
  .wv-home-hero__lead { font-size: 17px; }
  .wv-home-section { padding-top: 48px; }
  .wv-home-section__head { align-items: flex-start; flex-direction: column; }
  .wv-service-grid,
  .wv-steps,
  .wv-example-grid { grid-template-columns: 1fr; }
  .wv-service-card { min-height: 170px; }
  .wv-step { padding: 24px 0; }
  .wv-step__number { margin-bottom: 22px; }
  .wv-home-info { padding: 24px; }
}


.wv-examples-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.wv-examples-page__header {
    width: 100%;
    max-width: none;
    margin-bottom: 42px;
}

.wv-examples-page__header h1 {
    margin-bottom: 18px;
}

.wv-examples-page__header p,
.wv-examples-page__about p {
    line-height: 1.65;
}

.wv-examples-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.wv-example-card {
    min-width: 0;
}

.wv-example-card h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.wv-example-card figure {
    margin: 0;
}

.wv-example-card img {
    display: block;
    width: 100%;
    height: auto;
}

.wv-example-card figcaption {
    margin-top: 12px;
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
}

.wv-examples-page__about {
    width: 100%;
    max-width: none;
    margin-top: 52px;
}

@media (max-width: 900px) {
    .wv-examples-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .wv-examples-grid {
        grid-template-columns: 1fr;
    }

    .wv-examples-grid {
        gap: 36px;
    }
}


.wv-examples-page__header,
.wv-examples-page__about {
    width: 100% !important;
    max-width: none !important;
}

.wv-examples-page__header p,
.wv-examples-page__about p {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}