/* Залить в: catalog/view/theme/technics/stylesheet/wedding.css */

.wf-page {
  padding-bottom: 0;
}

.wf-page > .container-fluid > .catalog__heading {
  margin-bottom: 20px;
}

.wf {
  --wf-olive: #5c6348;
  --wf-olive-dark: #4a5139;
  --wf-text: #1c1c1c;
  --wf-muted: #6b6b6b;
  --wf-cream: #f3f1eb;
  --wf-line: #e6e4de;
  --wf-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --wf-radius: 14px;
  color: var(--wf-text);
}

.wf img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.wf-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.wf-hero__bg {
  position: absolute;
  inset: 0;
  background-color: #3d4034;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.wf-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 32, 22, 0.62) 0%, rgba(28, 32, 22, 0.28) 48%, rgba(28, 32, 22, 0.12) 100%);
}

.wf-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 340px);
  gap: 32px;
  align-items: center;
  width: 100%;
  padding-top: 48px;
  padding-bottom: 48px;
}

.wf-hero__lead {
  margin: 0 0 22px;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 400;
  color: #fff;
}

.wf-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  max-width: 620px;
  padding: 0;
  list-style: none;
}

.wf-services li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.3;
  color: #f3f3f3;
}

.wf-ico {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.wf-ico svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: 6px;
  background: var(--wf-olive);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.wf-btn:hover,
.wf-btn:focus {
  background: var(--wf-olive-dark);
  color: #fff !important;
}

.wf-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.wf-btn--block {
  width: 100%;
}

.wf-usp {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  padding: 22px 22px 18px;
  color: var(--wf-text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.wf-usp ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wf-usp li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.35;
}

.wf-usp li + li {
  border-top: 1px solid #ececec;
}

.wf-usp__icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wf-olive);
}

.wf-usp__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wf-section {
  padding: 42px 0 8px;
}

.wf-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.wf-section__title {
  margin: 0;
  font-family: var(--wf-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--wf-text);
}

.wf-section__note {
  display: block;
  margin-top: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--wf-muted);
}

.wf-more {
  white-space: nowrap;
  font-size: 14px;
  color: var(--wf-olive) !important;
  text-decoration: none !important;
}

.wf-more:hover {
  text-decoration: underline !important;
}

.wf-grid {
  display: grid;
  gap: 12px;
}

.wf-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.wf-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wf-shot {
  display: block;
  overflow: hidden;
  border-radius: var(--wf-radius);
  background: #ddd8d0;
}

.wf-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.wf-shot:hover img {
  transform: scale(1.04);
}

.wf-grid--arch .wf-shot {
  aspect-ratio: 3 / 4;
}

.wf-grid--wide .wf-shot {
  aspect-ratio: 4 / 3;
}

.wf-grid--square .wf-shot {
  aspect-ratio: 1 / 1;
}

.wf-lead {
  position: relative;
  margin-top: 48px;
  padding: 64px 0 72px;
  background: var(--wf-cream);
  overflow: hidden;
}

.wf-lead__ornament {
  position: absolute;
  width: 280px;
  height: 280px;
  color: var(--wf-olive);
  opacity: 0.12;
  pointer-events: none;
}

.wf-lead__ornament--tl {
  top: -40px;
  left: -30px;
}

.wf-lead__ornament--br {
  right: -20px;
  bottom: -50px;
  transform: rotate(180deg);
}

.wf-lead__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 48px;
  align-items: start;
}

.wf-lead__title {
  margin: 0 0 16px;
  font-family: var(--wf-serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
}

.wf-lead__text {
  margin: 0 0 28px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
}

.wf-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wf-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 180px;
  font-size: 14px;
  line-height: 1.35;
}

.wf-trust svg {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: var(--wf-olive);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wf-form {
  background: #fff;
  border-radius: 16px;
  padding: 28px 26px 24px;
  box-shadow: 0 10px 30px rgba(40, 40, 30, 0.08);
}

.wf-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wf-field {
  margin-bottom: 12px;
}

.wf-field input,
.wf-field textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #f3f3f3;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.3;
  color: var(--wf-text);
  outline: none;
  box-shadow: none;
}

.wf-field input:focus,
.wf-field textarea:focus {
  background: #ececec;
}

.wf-field textarea {
  min-height: 96px;
  resize: vertical;
}

.wf-field--date {
  position: relative;
}

.wf-field--date input {
  padding-right: 42px;
}

.wf-field--date svg {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: #8a8a8a;
  pointer-events: none;
}

.wf-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  opacity: 0;
}

.wf-form .wf-btn {
  margin-top: 6px;
}

.wf-form__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--wf-muted);
}

.wf-form__note svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

.wf-form__msg {
  display: none;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.wf-form__msg.is-ok {
  display: block;
  background: #eef5e8;
  color: #35552a;
}

.wf-form__msg.is-err {
  display: block;
  background: #fdeeee;
  color: #8a2b2b;
}

@media (max-width: 991px) {
  .wf-hero {
    min-height: 0;
  }

  .wf-hero__inner {
    grid-template-columns: 1fr;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .wf-usp {
    max-width: 420px;
  }

  .wf-lead__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wf-lead__title {
    font-size: 32px;
  }

  .wf-grid--5,
  .wf-grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wf-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .wf-section__title {
    font-size: 22px;
  }

  .wf-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .wf-grid--5,
  .wf-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wf-form__row {
    grid-template-columns: 1fr;
  }

  .wf-lead {
    padding: 40px 0 48px;
  }

  .wf-hero__lead {
    font-size: 17px;
  }
}
