/*
Theme Name: Vavilen Folio
Theme URI: https://example.com/
Author: Vavilen
Description: Классическая минималистичная тема портфолио с фиксированными шапкой и подвалом.
Version: 1.0.0
Text Domain: vavilen-folio
*/
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bs-border-radius: 3px;
  --bs-btn-font-size: 17px;
  --bs-border-width: 1px;

}

body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}
a {
  color: var(--vf-link);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: var(--vf-link-active);
  text-decoration: none;
}
img {

  max-width: 100%;
}
.btn {
    --bs-btn-padding-x: 35px;
    --bs-btn-padding-y: 13px;
    --bs-btn-font-size: var(--bs-btn-font-size);
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.2;
    --bs-btn-box-shadow: none;
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: none;
    text-transform: uppercase;
}
.btn-primary {
    --bs-btn-color: var(--vf-white);
    --bs-btn-bg: var(--vf-primary);
    --bs-btn-border-color: var(--vf-primary);
    --bs-btn-hover-color: var(--vf-white);
    --bs-btn-hover-bg: var(--vf-secondary);
    --bs-btn-hover-border-color: var(--vf-secondary);
    --bs-btn-focus-shadow-rgb: none;
    --bs-btn-active-color: var(--vf-white);
    --bs-btn-active-bg: var(--vf-secondary);
    --bs-btn-active-border-color: var(--vf-secondary);
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: var(--vf-white);
    --bs-btn-disabled-bg: var(--vf-primary);
    --bs-btn-disabled-border-color: var(--vf-primary);
}
.btn-outline-primary {
    --bs-btn-color: var(--vf-primary);
    --bs-btn-border-color: var(--vf-primary);
    --bs-btn-hover-color: var(--vf-white);
    --bs-btn-hover-bg: var(--vf-primary);
    --bs-btn-hover-border-color: var(--vf-primary);
    --bs-btn-focus-shadow-rgb: none;
    --bs-btn-active-color: var(--vf-primary);
    --bs-btn-active-bg: transparent;
    --bs-btn-active-border-color: var(--vf-primary);
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: var(--vf-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--vf-primary);
    --bs-gradient: none
}
.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--vf-secondary);
    --bs-btn-border-color: var(--vf-secondary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--vf-primary);
    --bs-btn-hover-border-color: var(--vf-primary);
    --bs-btn-focus-shadow-rgb: none;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--vf-secondary);
    --bs-btn-active-border-color: var(--vf-secondary);
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--vf-secondary);
    --bs-btn-disabled-border-color:var(--vf-secondary);
}
.btn-outline-secondary {
    --bs-btn-color: var(--vf-secondary);
    --bs-btn-border-color: var(--vf-secondary);
    --bs-btn-hover-color: var(--vf-white);
    --bs-btn-hover-bg: var(--vf-secondary);
    --bs-btn-hover-border-color: var(--vf-secondary);
    --bs-btn-focus-shadow-rgb: none;
    --bs-btn-active-color: var(--vf-secondary);
    --bs-btn-active-bg: transparent;
    --bs-btn-active-border-color: var(--vf-secondary);
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: var(--vf-secondary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--vf-secondary);
    --bs-gradient: none;
}
.form-check-input:checked {
    background-color: var(--vf-secondary);
    border-color: var(--vf-secondary);
}
.custom-logo-link {
    display: inline-flex;
  max-width: 200px;
}
.vf-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--vf-bg-light);
  transition: box-shadow .2s ease, backdrop-filter .2s ease, background-color .2s ease;
}

.vf-header.is-sticky {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.vf-top-header {
  font-size: 14px;
  color: var(--vf-text-dark);
}

.vf-main-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.vf-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.vf-nav-list,
.vf-mobile-nav-list,
.vf-extra-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vf-nav-list {
  display: flex;
  gap: 18px;
  align-items: center;
}

.vf-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vf-offcanvas {
  width: min(420px, 92vw);
}

.vf-archive-grid { transition: opacity .18s ease, transform .18s ease; }
.vf-archive-grid.vf-fade-out { opacity: 0; transform: translateY(6px); }


.vf-testimonials-grid {
  display: grid;
  gap: 24px;
}

.vf-testimonials-grid--cols-1 { grid-template-columns: 1fr; }
.vf-testimonials-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vf-testimonials-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vf-testimonials-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vf-testimonials-grid--cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vf-testimonials-grid--cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 991px) {
  .vf-testimonials-grid--cols-4,
  .vf-testimonials-grid--cols-5,
  .vf-testimonials-grid--cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .vf-testimonials-grid--cols-2,
  .vf-testimonials-grid--cols-3,
  .vf-testimonials-grid--cols-4,
  .vf-testimonials-grid--cols-5,
  .vf-testimonials-grid--cols-6 { grid-template-columns: 1fr; }
}

.vf-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1.2;
}

.vf-contact:hover {
  text-decoration: none;
}

.wpcf7-form .wpcf7-form-control-wrap{
  display:block;
  margin-bottom:16px;
}

.wpcf7-form .wpcf7-form-control-wrap:last-of-type{
  margin-bottom:0;
}

.wpcf7-form .wpcf7-submit{
  margin-top:8px;
}

.wpcf7-form .wpcf7-spinner{
  margin-left:10px;
  vertical-align:middle;
}

.wpcf7-form .wpcf7-response-output{
  margin:12px 0 0;
}

.vf-contacts-page__header{
  margin: 24px 0 18px;
}

.vf-contacts-page__title{
  margin: 0;
  color: var(--vf-text-dark);
}

.vf-contacts-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.vf-contacts-list__item{
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.vf-contacts-list__icon{
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--vf-border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vf-bg-light);
}

.vf-contact-icon svg{
  width: 20px;
  height: 20px;
  display: block;
  color: var(--vf-text-dark);
}

.vf-contacts-list__label{
  font-weight: 600;
  color: var(--vf-text-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.vf-contacts-list__value{
  color: var(--vf-link);
  text-decoration: none;
  word-break: break-word;
}

.vf-contacts-list__value:hover{
  color: var(--vf-link-active);
  text-decoration: underline;
}

.vf-contacts-form{
  padding: 16px;
  border: 1px solid var(--vf-border-light);
  border-radius: 14px;
  background: var(--vf-bg-light);
}

.vf-contacts-page__content{
  margin-top: 22px;
}

.vf-contacts-map{
  margin-top: 18px;
}

.vf-contacts-map__frame{
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--vf-border-light);
  background: var(--vf-bg-light);
}
.vf-swiper{ position: relative; }

.vf-swiper-nav{
  width: 100%;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vf-swiper-nav__btn{
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--vf-border);
  border-radius: 100%;

  background: var(--bg-light);

  color: var(--vf-text-dark);

  transition: transform .12s ease, border-color .12s ease, background-color .12s ease, opacity .12s ease;
}

.vf-swiper-nav__btn:hover{
  border-color: rgba(30, 42, 56, .35);
  transform: translateY(-1px);
}

.vf-swiper-nav__btn:active{ transform: translateY(0); }

.vf-swiper-nav__btn:focus-visible{
  outline: 2px solid rgba(30, 42, 56, .35);
  outline-offset: 2px;
}

.vf-swiper-nav__btn svg{ display:block; }

.vf-swiper-nav__btn.swiper-button-disabled{
  opacity: .45;
  cursor: default;
  transform: none;
}

.vf-swiper-nav__pagination{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: fit-content;
}

.vf-swiper-nav__pagination .swiper-pagination-bullet{
  width: 40px;
  height: 6px;
  margin: 0 !important;

  border-radius: 999px;
  background: var(--vf-border-light);
  opacity: 1;

  transition: width .12s ease, background-color .12s ease;
}

.vf-swiper-nav__pagination .swiper-pagination-bullet-active{
  width: 45px;
  background:var(--vf-border);
}