/* Свадебный лендинг Цветочницы. Подключается только для part = svadba.
   Палитра сайта: акцент #c0d52e, тёмный #2a363b, фон блоков #f7f9fa, границы #eaeff2 */

.svlp {
  color: #2a363b;
  font-size: 15px;
  line-height: 1.55;
}

.svlp a {
  color: #2a363b;
}

.svlp h2,
.svlp h3 {
  color: #2a363b;
  font-family: 'Gotham Pro Bold', Arial, sans-serif;
}

/* ---------- кнопки ---------- */

.svlp-btn {
  display: inline-block;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: 25px;
  font-family: 'Gotham Pro Bold', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.svlp-btn--primary {
  background-color: #c0d52e;
  color: #2a363b;
}

.svlp-btn--primary:hover {
  background-color: #aec127;
  color: #000;
}

.svlp-btn--outline {
  background-color: transparent;
  border-color: #c0d52e;
  color: #2a363b;
}

.svlp-btn--outline:hover {
  background-color: #c0d52e;
}

.svlp-btn--ghost {
  background-color: transparent;
  border-color: #eaeff2;
  color: #2a363b;
}

.svlp-btn--ghost:hover {
  border-color: #2a363b;
}

/* ---------- секции ---------- */

.svlp-section {
  padding: 46px 20px;
  border-bottom: 1px solid #eaeff2;
}

.svlp-section--grey {
  background-color: #f7f9fa;
}

.svlp-section__title {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.2;
}

.svlp-section__lead {
  max-width: 720px;
  margin: 0 0 28px;
  color: #5b666c;
}

.svlp-section__note {
  max-width: 780px;
  margin: 26px 0 0;
  color: #5b666c;
  font-size: 14px;
}

/* ---------- первый экран ---------- */

.svlp-hero {
  padding: 40px 20px 46px;
  border-bottom: 1px solid #eaeff2;
}

.svlp-hero__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: center;
}

.svlp-hero__text {
  flex: 1 1 420px;
  min-width: 280px;
}

.svlp-hero__media {
  flex: 1 1 340px;
  min-width: 260px;
}

.svlp-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.svlp-hero__title {
  margin: 0 0 14px;
  font-family: 'Gotham Pro Bold', Arial, sans-serif;
  font-size: 34px;
  line-height: 1.15;
}

.svlp-hero__subtitle {
  margin: 0 0 20px;
  font-size: 17px;
  color: #5b666c;
}

.svlp-hero__facts {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.svlp-hero__facts li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 22px;
}

.svlp-hero__facts li:before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #c0d52e;
}

.svlp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

/* ---------- мессенджеры ---------- */

.svlp-messengers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.svlp-messengers__title {
  color: #5b666c;
  font-size: 14px;
}

.svlp-messengers__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  text-decoration: none;
}

.svlp-messengers__item:hover {
  text-decoration: underline;
}

.svlp-messengers__item img {
  display: block;
}

/* ---------- карточки услуг ---------- */

.svlp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.svlp-card {
  padding: 20px;
  background-color: #fff;
  border: 1px solid #eaeff2;
  border-radius: 6px;
}

.svlp-section--grey .svlp-card {
  background-color: #fff;
}

.svlp-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.svlp-card p {
  margin: 0;
  color: #5b666c;
  font-size: 14px;
}

/* ---------- пакеты ---------- */

.svlp-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: start;
}

.svlp-package {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  background-color: #fff;
  border: 1px solid #eaeff2;
  border-radius: 6px;
}

.svlp-package--accent {
  border-color: #c0d52e;
  box-shadow: 0 6px 20px rgba(42, 54, 59, .08);
}

.svlp-package__badge {
  position: absolute;
  top: -12px;
  left: 22px;
  padding: 4px 12px;
  background-color: #c0d52e;
  border-radius: 12px;
  font-family: 'Gotham Pro Bold', Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
}

.svlp-package__name {
  font-family: 'Gotham Pro Bold', Arial, sans-serif;
  font-size: 15px;
  text-transform: uppercase;
}

.svlp-package__price {
  margin: 10px 0 16px;
  font-family: 'Gotham Pro Bold', Arial, sans-serif;
  font-size: 27px;
}

.svlp-package__price span {
  font-size: 20px;
}

.svlp-package__list {
  flex: 1 1 auto;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: #5b666c;
  font-size: 14px;
}

.svlp-package__list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 18px;
}

.svlp-package__list li:before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #c0d52e;
}

.svlp-package .svlp-btn {
  align-self: flex-start;
}

/* ---------- шаги ---------- */

.svlp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.svlp-step {
  padding: 20px;
  background-color: #f7f9fa;
  border-radius: 6px;
}

.svlp-section--grey .svlp-step {
  background-color: #fff;
}

.svlp-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  background-color: #c0d52e;
  border-radius: 50%;
  font-family: 'Gotham Pro Bold', Arial, sans-serif;
  font-size: 14px;
}

.svlp-step h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.svlp-step p {
  margin: 0;
  color: #5b666c;
  font-size: 14px;
}

/* ---------- почему мы ---------- */

.svlp-why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.svlp-why__item h3 {
  margin: 0 0 6px;
  padding-top: 14px;
  border-top: 2px solid #c0d52e;
  font-size: 16px;
}

.svlp-why__item p {
  margin: 0;
  color: #5b666c;
  font-size: 14px;
}

/* ---------- портфолио ---------- */

.svlp-portfolio__group {
  margin-bottom: 34px;
}

.svlp-portfolio__title {
  margin: 0 0 14px;
  font-size: 17px;
}

.svlp-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.svlp-portfolio__grid a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

.svlp-portfolio__grid img {
  display: block;
  width: 100%;
  max-width: none;
  height: 190px;
  max-height: none;
  object-fit: cover;
  transition: transform .25s ease;
}

.svlp-portfolio__grid a:hover img {
  transform: scale(1.04);
}

.svlp-portfolio__cta {
  margin-top: 6px;
}

/* ---------- вопросы ---------- */

.svlp-faq {
  max-width: 820px;
}

.svlp-faq__item {
  margin-bottom: 10px;
  padding: 14px 18px;
  background-color: #fff;
  border: 1px solid #eaeff2;
  border-radius: 6px;
}

.svlp-faq__item summary {
  cursor: pointer;
  font-family: 'Gotham Pro Bold', Arial, sans-serif;
  font-size: 15px;
  list-style: none;
}

.svlp-faq__item summary::-webkit-details-marker {
  display: none;
}

.svlp-faq__item summary:before {
  content: '+';
  display: inline-block;
  width: 18px;
  color: #c0d52e;
}

.svlp-faq__item[open] summary:before {
  content: '\2212';
}

.svlp-faq__item p {
  margin: 10px 0 0 18px;
  color: #5b666c;
  font-size: 14px;
}

/* ---------- форма ---------- */

.svlp-form {
  max-width: 820px;
  margin-bottom: 24px;
}

.svlp-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.svlp-field {
  display: block;
  margin-bottom: 16px;
}

.svlp-field--wide {
  max-width: 100%;
}

.svlp-field__label {
  display: block;
  margin-bottom: 6px;
  color: #5b666c;
  font-size: 13px;
}

.svlp-field__label i {
  color: #c0392b;
  font-style: normal;
}

.svlp-field__input {
  width: 100%;
  padding: 11px 13px;
  background-color: #fff;
  border: 1px solid #d9e1e5;
  border-radius: 4px;
  color: #2a363b;
  font-family: inherit;
  font-size: 15px;
  box-sizing: border-box;
}

.svlp-field__input:focus {
  border-color: #c0d52e;
  outline: none;
}

.svlp-form__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-top: 8px;
}

.svlp-form__submit {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svlp-form__policy {
  max-width: 320px;
  color: #8a959a;
  font-size: 12px;
}

/* ---------- контакты ---------- */

.svlp-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.svlp-contacts h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.svlp-contacts p {
  margin: 0 0 10px;
  color: #5b666c;
  font-size: 14px;
}

.svlp-contacts__phone {
  font-family: 'Gotham Pro Bold', Arial, sans-serif;
  font-size: 18px;
  text-decoration: none;
}

/* ---------- мобильная панель действий ---------- */

.svlp-sticky {
  display: none;
}

@media screen and (max-width: 768px) {
  .svlp-hero__title {
    font-size: 26px;
  }

  .svlp-hero__subtitle {
    font-size: 15px;
  }

  .svlp-section,
  .svlp-hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .svlp-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .svlp-sticky {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: flex;
    background-color: #fff;
    border-top: 1px solid #eaeff2;
  }

  .svlp-sticky__item {
    flex: 1 1 33%;
    padding: 13px 6px;
    color: #2a363b;
    font-family: 'Gotham Pro Bold', Arial, sans-serif;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
  }

  .svlp-sticky__item--primary {
    background-color: #c0d52e;
  }

  /* чтобы панель не перекрывала последний блок */
  .svlp {
    padding-bottom: 54px;
  }
}
