@charset "UTF-8";
/* =======================
   BASE VARIABLES & THEME TOKENS
   ======================= */
:root {
  /* Радиусы, отступы, сетка */
  --radius-img: 0.5rem;
  --radius-card: 0.75rem;
  --radius-btn: 9999px;
  --gap-grid: 1.5rem;
  --gap-grid-tight: 1rem;
  /* Цвета */
  --color-beige-light: #FDFBF7;
  --color-beige: #f1ece3;
  --color-gold: #d6a550;
  --color-gold-light: #fdf5c0;
  --color-gold-dark: #b38e2c;
  --color-gray-dark: #444;
  --color-gray-light: #999;
  --color-black: #111;
  --color-white: #fff;
  --color-caption: #666;
  --color-green: #25d366;
  --color-green-dark: #1ebe5d;
  --color-pink: #D61E5C;
  /* Background utilities */
  /* Градиент */
  --color-gold-gradient: linear-gradient(
    90deg,
    var(--color-gold-dark) 0%,
    var(--color-gold)      50%,
    var(--color-gold-dark) 100%
  );
  /* Шрифты */
  --font-caption-family: "Lato", sans-serif;
  --font-caption-style: italic;
  --font-caption-size: 0.9rem;
  --font-caption-line: 1.4;
  --font-base: "Montserrat", sans-serif;
  --font-accent: "Playfair Display", serif;
  --font-classic: "Trajan Pro 3", serif;
  /* Анимации */
  --transition-base: 0.3s ease;
}
:root .bg-white {
  background-color: var(--color-white);
}
:root .bg-black {
  background-color: var(--color-black);
}
:root .bg-beige-light {
  background-color: var(--color-beige-light);
}
:root .bg-beige {
  background-color: var(--color-beige);
}
:root .bg-pink {
  background-color: var(--color-pink);
}
@media (prefers-reduced-motion: reduce) {
  .btn-animated {
    animation: none;
    background-size: 100% 100%;
  }
}
@font-face {
  font-family: "Trajan Pro 3";
  src: url("/wp-content/themes/kadence-child/fonts/TrajanPro3Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Прозрачность */
.text-muted {
  opacity: 0.85;
}
/* =======================
   WIDTH UTILITIES
   ======================= */
[class^="w-"] {
  display: inline-block;
}
.w-full {
  width: 100%;
}
.w-1-2 {
  width: 50%;
}
.w-1-3 {
  width: 33.3333%;
}
.w-2-3 {
  width: 66.6667%;
}
.w-1-4 {
  width: 25%;
}
.w-3-4 {
  width: 75%;
}
.w-auto {
  width: auto;
}
/* =======================
   MAX-WIDTH UTILITIES
   ======================= */
[class^="max-w-"] {
  display: block;
}
.max-w-xxs {
  max-width: 160px;
}
.max-w-xs {
  max-width: 240px;
}
.max-w-sm {
  max-width: 400px;
}
.max-w-md {
  max-width: 600px;
}
.max-w-lg {
  max-width: 800px;
}
.max-w-xl {
  max-width: 1024px;
}
.max-w-2xl {
  max-width: 1280px;
}
/* =======================
   SPACING (MARGIN & PADDING) Шаг: 0.5rem — до 5rem
   ======================= */
/* =======================
   UNIVERSAL MARGIN SPACERS
   ======================= */
.spacer-sm {
  margin-top: 1rem !important;
}
.spacer-md {
  margin-top: 1.5rem !important;
}
.spacer-lg {
  margin-top: 2rem !important;
}
/* =======================
   UNIVERSAL PADDING SPACERS
   ======================= */
.p-sm {
  padding: 1rem !important;
}
/* ≈16px */
.p-md {
  padding: 1.5rem !important;
}
/* ≈24px */
.p-lg {
  padding: 2rem !important;
}
/* ≈32px */
.pt-sm {
  padding-top: 1rem !important;
}
.pt-md {
  padding-top: 1.5rem !important;
}
.pt-lg {
  padding-top: 2rem !important;
}
.pb-sm {
  padding-bottom: 1rem !important;
}
.pb-md {
  padding-bottom: 1.5rem !important;
}
.pb-lg {
  padding-bottom: 2rem !important;
}
.pl-sm {
  padding-left: 1rem !important;
}
.pl-md {
  padding-left: 1.5rem !important;
}
.pl-lg {
  padding-left: 2rem !important;
}
.pr-sm {
  padding-right: 1rem !important;
}
.pr-md {
  padding-right: 1.5rem !important;
}
.pr-lg {
  padding-right: 2rem !important;
}
/* =======================
   TYPOGRAPHY
   ======================= */
body {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #222;
}
.font-sans {
  font-family: "Montserrat", sans-serif;
}
.font-serif {
  font-family: "Playfair Display", serif;
}
.font-accent {
  font-family: "Trajan Pro 3", serif;
}
.font-body {
  font-family: "Lato", sans-serif;
}
.text-base {
  font-size: 1rem;
}
.text-lg {
  font-size: 1.25rem;
}
.text-xl {
  font-size: 1.5rem;
}
.text-2xl {
  font-size: 2rem;
}
/* =======================
   ALIGNMENT
   ======================= */
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
/* =======================
   TEXT SHADOWS
   ======================= */
.text-shadow-sm {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.text-shadow-md {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
}
[class^="text-"] {
  font-size: 1rem;
}
.text-sm {
  font-size: 0.875rem;
}
.text-base {
  font-size: 1rem;
}
.text-lg {
  font-size: 1.25rem;
}
.text-xl {
  font-size: 1.5rem;
}
.text-2xl {
  font-size: 2rem !important;
}
/* =======================
   BACKGROUNDS & TEXT COLORS
   ======================= */
.bg-white {
  background-color: var(--color-white);
}
.bg-beige-light {
  background-color: var(--color-beige-light);
}
.bg-beige {
  background-color: var(--color-beige);
}
.bg-gold {
  background-color: var(--color-gold);
}
.bg-dark {
  background-color: var(--color-gray-dark);
}
.bg-light {
  background-color: var(--color-gray-light);
}
.bg-black {
  background-color: var(--color-black);
}
.text-white {
  color: var(--color-white);
}
.text-black {
  color: var(--color-black);
}
.text-gold {
  color: var(--color-gold);
}
.text-dark {
  color: var(--color-gray-dark);
}
.text-light {
  color: var(--color-gray-light);
}
/* =======================
   SHADOWS
   ======================= */
.shadow-xs {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.shadow-sm {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}
.shadow-md {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.shadow-lg {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
/* =======================
   UNIVERSAL HOVER LIFT
   ======================= */
.hover-lift {
  transform: translateY(0);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.hover-lift:hover, .hover-lift:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
/* =======================
   IMAGES
   ======================= */
.img-fluid {
  max-width: 100%;
  height: auto;
}
.img-rounded {
  border-radius: 1rem;
}
.photo-25 {
  flex: 0 0 25%;
  max-width: 25%;
}
.photo-33 {
  flex: 0 0 33%;
  max-width: 33%;
}
.photo-50 {
  flex: 0 0 50%;
  max-width: 50%;
}
.photo-100 {
  flex: 0 0 100%;
  max-width: 100%;
}
.photo-text-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.photo-text-inline > figure, .photo-text-inline > .photo-25, .photo-text-inline > .photo-33, .photo-text-inline > .photo-50 {
  margin: 0;
}
.photo-text-inline > figure img, .photo-text-inline > .photo-25 img, .photo-text-inline > .photo-33 img, .photo-text-inline > .photo-50 img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-img);
}
.photo-text-inline > figure figcaption, .photo-text-inline > .photo-25 figcaption, .photo-text-inline > .photo-33 figcaption, .photo-text-inline > .photo-50 figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #666;
  font-style: italic;
}
.photo-text-inline > div {
  flex: 1 1 auto;
  min-width: 200px;
}
.photo-text-inline.reverse {
  flex-direction: row-reverse;
}
@media (max-width: 768px) {
  .photo-text-inline {
    flex-direction: column;
  }
  .photo-text-inline > figure, .photo-text-inline > .photo-25, .photo-text-inline > .photo-33, .photo-text-inline > .photo-50, .photo-text-inline > div {
    max-width: 100%;
    flex: 1 1 100%;
  }
}
/* =======================
   FIGURE ALIGNMENT UTILITIES — COMPACT
   ======================= */
figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-img);
  display: block;
}
figure figcaption {
  font-family: var(--font-caption-family);
  font-style: var(--font-caption-style);
  font-size: var(--font-caption-size);
  line-height: var(--font-caption-line);
  color: var(--color-caption);
  text-align: center;
  margin-top: 0.4rem;
}
/* =======================
 Задать обтекание через float
   ======================= */
.figure--float-left {
  float: left;
  margin: 0 1.5rem 1rem 0;
  max-width: 45%;
}
.figure--float-right {
  float: right;
  margin: 0 0 1rem 1.5rem;
  max-width: 45%;
}
@media (max-width: 768px) {
  .figure--float-left, .figure--float-right {
    float: none;
    display: block;
    margin: 1rem auto;
    max-width: 100%;
  }
}
.grid-sub {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.grid-sub figure {
  width: 100%;
  margin: 0;
  border-radius: var(--radius-img);
  overflow: hidden;
}
.grid-sub img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .grid-sub {
    flex-direction: column;
  }
}
/* === Max-Width Utilities for Floating Figures === */
.figure--w240 {
  max-width: 240px;
}
.figure--w300 {
  max-width: 300px;
}
.figure--w360 {
  max-width: 360px;
}
/* =======================
   GLOBAL FIXES
   ======================= */
body {
  overflow-x: hidden;
}
/* =======================
   BUTTONS – BASE STYLES
   ======================= */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  color: var(--color-white);
  background-color: var(--color-gold);
  background-image: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold-dark));
  background-size: 100% 100%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  white-space: normal;
  word-break: break-word;
  width: auto;
  max-width: none;
  transition: background-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.btn:hover:not(.is-disabled), .btn:focus-visible:not(.is-disabled) {
  background-color: var(--color-gold);
  background-image: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold-dark));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: scale(1.03);
  outline: none;
}
/* =======================
   BUTTON MODIFIERS
   ======================= */
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  background-image: none;
  box-shadow: none;
}
.btn-outline:hover, .btn-outline:focus-visible {
  background-color: var(--color-gold-light);
  color: var(--color-black);
  transform: scale(1.03);
}
.btn-animated {
  background-size: 300% 100%;
  animation: gradientMove 8s ease-in-out infinite;
}
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.btn--center {
  display: inline-block;
  margin-inline: auto;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  text-align: center;
}
/* anchors-кнопки: блокируем по aria-disabled или классу */
/* anchors-кнопки: блокируем по aria-disabled или классу */
a.btn[aria-disabled="true"], a.btn.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: var(--color-beige-light);
  background-image: none;
  color: var(--color-gray-light);
  box-shadow: none;
}
/* настоящие <button> в формах */
button.btn:disabled, button.btn.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: var(--color-beige-light);
  background-image: none;
  color: var(--color-gray-light);
  box-shadow: none;
  pointer-events: none;
}
.btn.btn-whatsapp {
  background-color: var(--color-green) !important;
  background-image: none !important;
  color: var(--color-white) !important;
}
.btn.btn-whatsapp:hover, .btn.btn-whatsapp:focus-visible {
  background-color: var(--color-green-dark) !important;
  background-image: none !important;
  color: var(--color-white) !important;
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
/* =======================
   UNIVERSAL CHECKMARKS
   ======================= */
/* Базовый сброс списка */
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Стиль списка с галочками */
.list-check li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0rem;
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0.9;
}
/* Галочка отдельно от списка */
.has-check {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
}
.has-check::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0.9;
}
/* Дополнительные модификаторы для has-check */
.has-check--large::before {
  font-size: 1.4rem;
  top: -0.15rem;
}
/* Цветовые модификаторы */
.check-green::before, .check-green li::before {
  color: var(--color-green);
}
.check-gold::before, .check-gold li::before {
  color: var(--color-gold);
}
.check-dark::before, .check-dark li::before {
  color: var(--color-gray-dark);
}
.check-pink::before, .check-pink li::before {
  color: var(--color-pink);
}
.check-white::before, .check-white li::before {
  color: var(--color-white);
}
/* =======================
   BADGE CHECK COMPONENT
   ======================= */
.badge-check {
  display: inline-block;
  position: relative;
  padding-left: 2rem;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}
.badge-check::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -0.15rem;
  font-size: 1.4rem;
  font-weight: 700;
  opacity: 0.9;
}
.badge-check--pink::before {
  color: var(--color-pink);
}
.badge-check--gold::before {
  color: var(--color-gold);
}
.badge-check--green::before {
  color: var(--color-green);
}
.badge-pink {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: #fce2ec;
  color: var(--color-pink);
  font-weight: 600;
  font-size: 1.1rem;
}
.card__badge {
  position: absolute;
  top: 2rem;
  right: 0.5rem;
  font-family: var(--font-classic);
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  background: var(--color-beige-light);
  color: var(--color-black);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  transform: rotate(30deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 10;
}
/* =======================
   КРУГЛОЕ ФОТО
   ======================= */
.img--circle {
  border-radius: 9999px;
  width: 100px;
  height: 100px;
  object-fit: cover;
}
/* отзыв */
.card--testimonial {
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}
/* =======================
   ЦИТАТЫ
   ======================= */
.mission-block {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}
.mission-zitat {
  display: inline-block;
  position: relative;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  text-align: left;
  padding-left: 1.5rem;
  max-width: 800px;
}
.mission-zitat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 4px;
  height: 100%;
  background-color: var(--color-gold-dark);
  border-radius: 1px;
}
.mission-zitat .highlight {
  color: var(--color-gold-dark);
  font-weight: 700;
}
/* =======================
   CARD – BASE
   ======================= */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  height: 100%;
  /* чтобы кнопка могла прижаться книзу */
}
/* ==== модификаторы (оставляем, они полезны) ==== */
.card--centered {
  text-align: center;
  align-items: center;
}
.card--h {
  flex-direction: row;
  text-align: left;
  gap: 1.5rem;
}
.card--h .card__img {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
}
/* ==== элементы внутри карточки ==== */
.card__img {
  width: 100%;
  border-radius: var(--radius-img);
}
.card__title {
  font-size: 1.25rem;
  font-weight: 700;
}
.card__text {
  font-size: 1rem;
  color: var(--color-gray-dark);
}
/* ==== эффект «поднятия» (опционно) ==== */
.hover-lift:hover, .hover-lift:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
/* ==== особый случай для формы, чтобы инпуты были по всей ширине ==== */
.card.form-main {
  align-items: stretch;
}
.card .btn {
  margin-top: auto;
}
/* =======================
   CARD – для карточек с ценами на пакеты
   ======================= */
.card--paket {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 2rem;
}
.card--paket .card__title {
  margin-bottom: 0.5rem;
}
.card--paket .card__info {
  margin-bottom: 1rem;
}
.card--paket .card__list {
  margin-bottom: auto;
}
.card--paket .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}
.card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.card__list li {
  padding-left: 0.1rem;
  line-height: 1.6;
  margin-bottom: 0.3rem;
}
.card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.card__list .emoji {
  display: inline-block;
  width: 1.5rem;
  text-align: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
/* =======================
   ICONS
   ======================= */
.icon {
  display: block;
  object-fit: contain;
  margin: 0 auto 1rem;
}
.icon--small {
  width: 32px;
  height: 32px;
}
.icon--medium {
  width: 48px;
  height: 48px;
}
.icon--large {
  width: 64px;
  height: 64px;
}
/* =======================
   FORM ELEMENTS – BASE
   ======================= */
.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-black);
}
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-base);
  color: var(--color-black);
  background-color: var(--color-white);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(214, 165, 80, 0.2);
  outline: none;
}
input::placeholder, textarea::placeholder {
  color: var(--color-gray);
  opacity: 1;
}
textarea {
  resize: vertical;
  min-height: 120px;
}
input:disabled, textarea:disabled, select:disabled {
  background-color: var(--color-beige-light);
  opacity: 0.6;
  cursor: not-allowed;
}
input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  accent-color: var(--color-gold);
}
input[type="checkbox"]:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}
input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  accent-color: var(--color-gold);
}
input[type="checkbox"]:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}
input[type="hidden"] {
  display: none;
}
/* Дополнительные корректировки для скрытых полей */
input[type="hidden"] {
  display: none;
}
/* =======================
   TABLE – SIMPLE PRICING TABLE
   ======================= */
.table-pricing {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.5;
  font-family: var(--font-base);
}
.table-pricing thead th, .table-pricing td {
  text-align: left;
  padding: 1rem;
  vertical-align: top;
}
.table-pricing thead th {
  background-color: var(--color-beige);
  /* было ошибка: --beige */
  font-weight: 600;
}
.table-pricing tr:last-child td {
  border-bottom: none;
}
.table-pricing td {
  border-bottom: 1px solid #eee;
}
/* =======================
   CONTAINER
   ======================= */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.container--narrow {
  max-width: 800px;
}
.container--text {
  max-width: 960px;
}
.container--wide {
  max-width: 1200px;
}
.container--full {
  max-width: 100%;
  padding: 0;
}
.container--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* =======================
   SECTION — базовый отступ
   ======================= */
.section, .section-text, .section-story {
  margin: 4rem 0;
  padding: 1rem 0;
}
@media (max-width: 768px) {
  .section, .section-text, .section-story {
    margin: 3rem 0;
    padding: 1.5rem 0;
  }
}
/* Модификаторы, если нужен другой ритм */
.section--tight {
  margin: 2rem 0;
}
.section--wide {
  margin: 6rem 0;
}
.section--nogap {
  margin: 0;
}
/* =======================
   SECTION: TEXT
   ======================= */
.section-text, .section-story {
  background: #fff;
}
/* Убираем лишний отступ у первой и последней секции на странице */
.section:first-child, .section-text:first-child, .section-story:first-child {
  margin-top: 0;
}
.section:last-child, .section-text:last-child, .section-story:last-child {
  margin-bottom: 0;
}
/* =======================
   GRID
   ======================= */
.grid, .grid-2, .grid-3, .grid-4 {
  align-items: stretch;
}
.grid {
  display: grid;
  gap: var(--gap-grid);
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.grid-center {
  place-items: center;
}
.grid img, figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-img);
  display: block;
}
.grid figure {
  margin: 0;
}
.grid figcaption, .foto-caption {
  font: var(--font-caption);
  color: var(--color-caption);
  text-align: center;
  margin-top: 0.4rem;
}
/* =======================
   HERO — базовая секция
   ======================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: -3.2rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 0;
  min-height: 35vh;
  z-index: 1;
}
/* Hero с увеличенной высотой (например, главная страница) */
.hero--main {
  min-height: 50vh;
}
/* Hero с высотой (например, Контакт) */
.hero--color {
  min-height: 20vh;
}
/* Цветной фон без фото и без overlay */
.hero--color {
  background-color: var(--color-beige-bg);
  background-image: none;
}
.hero--color .overlay {
  display: none;
}
.hero.hero--color .hero-content h1, .hero.hero--color .hero-content p, .hero.hero--color .hero-content h2, .hero.hero--color .hero-content span, .hero.hero--color .hero-content label {
  color: var(--black);
  text-shadow: none;
}
/* Тёмная полупрозрачная подложка */
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
/* Контент внутри Hero */
.hero .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
@media (max-width: 768px) {
  .hero .hero-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
/* Увеличенные отступы для главной страницы */
.hero-content--large {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
@media (max-width: 768px) {
  .hero-content--large {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
.hero.hero--tight .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
@media (max-width: 768px) {
  .hero.hero--tight .hero-content {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}
/* Стили для текста внутри Hero */
.hero .hero-content h1, .hero .hero-content p:not(.text-sm) {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}
.hero .hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}
.hero .hero-content p:not(.text-sm) {
  font-size: 1.25rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .hero .hero-content h1 {
    font-size: 3rem;
  }
  .hero .hero-content p:not(.text-sm) {
    font-size: 1.5rem;
  }
}
/* Альтернативный светлый блок внутри Hero (например, для формы) */
.box-light {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
}
.box-light h1, .box-light p {
  color: var(--black-1);
  text-shadow: none;
}
/* =======================
   BREADCRUMB
   ======================= */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-gray-dark);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  text-decoration: none;
  color: inherit;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span:not(:first-child)::before {
  content: "›";
  margin: 0 0.5rem;
  color: var(--color-gray-dark);
}
/* =======================
   PHOTO + TEXT INLINE
   ======================= */
.photo-text-inline {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-card);
  flex-wrap: wrap;
}
.photo-text-inline.right {
  flex-direction: row-reverse;
}
.photo-text-inline img {
  display: block;
  border-radius: var(--radius-img);
  height: auto;
  flex-shrink: 0;
}
.photo-text-inline > div {
  flex: 1;
}
.photo-25 {
  width: 25%;
  max-width: 25%;
}
.photo-33 {
  width: 33.3333%;
  max-width: 33.3333%;
}
.photo-50 {
  width: 50%;
  max-width: 50%;
}
@media (max-width: 768px) {
  .photo-text-inline {
    flex-direction: column !important;
    text-align: center;
  }
  .photo-25, .photo-33, .photo-50 {
    width: 100%;
    max-width: 100%;
  }
}
/* =======================
   FAQ - АККОРДЕОН
   ======================= */
.accordion {
  border-bottom: 1px solid #ccc;
  padding: 0;
}
.accordion.open .accordion__answer {
  max-height: 500px;
  padding: 0.5rem 1rem 1rem;
  opacity: 1;
  transition: all 0.3s ease;
}
.accordion__question {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--color-beige-light);
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-black);
  padding: 1rem;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-card);
  transition: background 0.3s;
}
.accordion__question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--color-gray-dark);
}
.accordion__question:focus {
  outline: none;
}
.accordion.open .accordion__question {
  background: var(--color-beige);
}
.accordion.open .accordion__question::after {
  content: "–";
}
.accordion__answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--color-gray-dark);
  font-size: 1rem;
}
.accordion__answer p {
  margin: 0;
}
/* === Paket-Karten (Buchung) === */
#paketCards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 8px 0 6px;
}
.paket-card {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  cursor: pointer;
}
.paket-card .paket-title {
  font-weight: 700;
  margin-bottom: 6px;
}
.paket-card .paket-price {
  font-size: 18px;
  margin-bottom: 6px;
}
.paket-card.active {
  outline: 2px solid #d4af37;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
/* Одинарная стрелка у ВСЕХ селектов в блоке формы */
.section--form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23999' d='M5.5 7l4.5 5 4.5-5H5.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px 14px;
}
/* Точечно глушим “вторую” декоративную стрелку именно у Standesamt */
.section--form #standesamt-label select#standesamt-select {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23999' d='M5.5 7l4.5 5 4.5-5H5.5z'/%3E%3C/svg%3E") !important;
}
/* если тема рисует стрелку псевдоэлементом */
.section--form #standesamt-label::after, .section--form #standesamt-label *::after {
  content: none !important;
}
/* =======================
   ПО ЦЕНТРУ
   ======================= */
/* текст по центру */
.text-center {
  text-align: center;
}
/* текст по фото */
.img-center {
  display: block;
  margin-inline: auto;
  /* убираем inline-gap */
  /* центр по горизонтали */
}
/* h2 заголовок */
.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.3;
}
.grid.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
  row-gap: 3rem;
  /* ← увеличиваем вертикальный отступ */
}
@media (max-width: 768px) {
  .grid.grid-2 {
    grid-template-columns: 1fr;
  }
}
/* универсально для любых форм на сайте, прячет третье поле Standesamt */
.hidden {
  display: none !important;
}
.form-group.hidden {
  display: none !important;
}
/* Отступ сверху для кнопки */
.cta-spacer {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
/* две кнопки рядом */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  /* расстояние между кнопками */
  margin-top: 1.5rem;
}
.btn-group .btn {
  margin: 0;
  /* сброс, если ранее стоял отступ */
}
/* курсив в подписи под фото и не только */
.caption, figure figcaption, .foto-caption {
  font-family: var(--font-caption-family) !important;
  font-style: var(--font-caption-style) !important;
  font-size: var(--font-caption-size) !important;
  line-height: var(--font-caption-line) !important;
  color: var(--color-caption) !important;
  letter-spacing: 0.2px;
  opacity: 0.85;
}
/* убираем нативную стрелку в form у наших селектов с собственной иконкой  */
#standesamt-select, .picker select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  /* на всякий случай */
  padding-right: 2.25rem;
  /* место под нашу стрелку */
}
/* дополнение для галочек в Hero */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 0.6rem;
}
.checklist li.has-check {
  display: inline-block;
}
/* вертикальное центрирование галочки относительно строки */
.checklist li.has-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}
.checklist li.has-check::before {
  content: "✓";
  font-size: 1.4rem;
}
/*  Горизонтальный скролл для таблицы */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin-bottom: 2rem;
}
.table-pricing {
  min-width: 600px;
  max-width: 100%;
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.5;
  font-family: var(--font-base);
}
/*  для «скрытого» caption */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Кнопка фиксированная для handy — скрываем на десктопе */
.sticky-cta-button {
  display: none;
}
@media (max-width: 768px) {
  .sticky-cta-button {
    display: block;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 999;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold-dark));
    background-size: 200% 100%;
    animation: gradientMove 6s ease infinite;
    color: var(--color-black);
    border-radius: var(--radius-btn);
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
}
/* ТЕСТ - делает в buchung Standesamt кликабельным поверх всех слоёв */
/* Standesamt select: вернуть нативное поведение */
#standesamt-row {
  position: relative;
  z-index: 10;
}
#standesamt-select {
  pointer-events: auto !important;
  opacity: 1 !important;
  position: relative;
  z-index: 11;
  appearance: menulist;
  /* Safari/Chrome */
  -webkit-appearance: menulist;
  /* Safari */
}
/* QUIZ */
.quiz {
  max-width: 720px;
  margin: 2rem auto;
}
.quiz-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.quiz-progress {
  position: relative;
  height: 8px;
  background: #eee;
  border-radius: 999px;
  margin: 0.75rem 0 1.25rem;
  /* было: margin-bottom: 1rem; */
  overflow: hidden;
}
.quiz-progress__bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--color-gold);
  transition: width 0.3s ease;
}
.quiz-progress__text {
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: right;
  margin-top: 0.25rem;
}
.quiz-q {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.quiz-opts {
  display: grid;
  gap: 0.5rem;
}
.quiz-opt {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  cursor: pointer;
}
.quiz-opt:hover {
  border-color: var(--color-gold);
}
.quiz-opt input {
  transform: scale(1.2);
}
.quiz-nav {
  margin-top: 1rem;
}
.quiz-hint {
  margin-top: 0.5rem;
}
.quiz-result {
  text-align: center;
  margin-top: 1rem;
}
.quiz-result__paket {
  font-size: 1.125rem;
}
/* Vorher/Nachher Fotos – Standalone компонент */
.compare {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 1.5;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
}
.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare__reveal {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: var(--pos, 50%);
}
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  left: calc(var(--pos,50%));
  transform: translateX(-1px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.compare__labels {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.compare__label--left {
  align-self: flex-start;
}
.compare__label--right {
  align-self: flex-end;
}
@media (max-width: 640px) {
  .compare {
    aspect-ratio: 0.8;
  }
  .compare__labels {
    font-size: 0.8rem;
  }
}
/*  Для всплывающей подсказки */
.tooltip-inline {
  display: inline-block;
  position: relative;
  margin-left: 0.3rem;
  cursor: help;
  font-size: 1rem;
  line-height: 1;
}
.tooltip-inline .tooltip-text {
  visibility: hidden;
  position: absolute;
  top: 1.5rem;
  left: 0;
  transform: translateX(-30%);
  background-color: var(--color-black);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.4;
  width: max-content;
  max-width: 280px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 100;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.tooltip-inline:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
/* Всплывающая подсказка для заблокированных CTA */
.cta-tooltip {
  position: fixed;
  z-index: 10000;
  padding: 0.5rem 0.75rem;
  max-width: 280px;
  font-size: 0.95rem;
  line-height: 1.35;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -100%);
  /* центрируем над кнопкой */
  pointer-events: none;
  /* сама подсказка клики не перехватывает */
}
.cta-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.92);
}
.cta-tooltip[hidden] {
  display: none;
}
/* Поворот стрелки, если подсказка показана снизу */
.cta-tooltip--below {
  transform: translate(-50%, 0);
}
.cta-tooltip--below::after {
  top: -7px;
  bottom: auto;
  border-bottom-color: rgba(0, 0, 0, 0.92);
  border-top-color: transparent;
}
/* Универсальный стиль для blockquote */
.section blockquote, .section-text blockquote, .section-story blockquote, .section-hero blockquote {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 4px solid var(--color-pink);
  color: var(--color-text);
}
/* ===== PAGE-NAV ===== */
.page-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--color-beige-light);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(140%) blur(6px);
}
.page-nav.container, .page-nav .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0.6rem 0;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.page-nav a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  text-decoration: none;
  color: #333;
  border-bottom: 2px solid transparent;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.page-nav a:hover {
  color: var(--color-gold-dark);
  background: var(--color-beige);
}
.page-nav a.is-active, .page-nav a[aria-current="true"] {
  color: var(--color-gold-dark);
  border-bottom: 3px solid var(--color-gold);
  background: var(--color-beige-light);
}
.page-nav a:focus-visible {
  outline: 2px solid var(--color-pink);
  outline-offset: 2px;
}
/* якоря не перекрываются sticky-баром */
.section-text[id], .section-story[id], .section[id] {
  scroll-margin-top: 90px;
}
/* (опционально) вариант с вертикальными разделителями — см. ниже в комментарии */
@media (prefers-reduced-motion: reduce) {
  .page-nav a {
    transition: none;
  }
}
/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}
/* Десктоп: 4 в ряд → 12 / 3 = 4 */
.gallery figure {
  margin: 0;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  /* держим подпись под плиткой */
}
/* Плитка-превью */
.gallery a {
  display: block;
  aspect-ratio: 1.5;
  overflow: hidden;
  /* единая карточка */
  border-radius: 8px;
}
/* Планшет ≤1024px: 3 в ряд */
@media (max-width: 1024px) {
  .gallery figure {
    grid-column: span 4;
  }
}
/* Мобилка ≤640px: 2 в ряд */
@media (max-width: 640px) {
  .gallery figure {
    grid-column: span 6;
  }
}
/* Картинка заполняет плитку красиво */
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
  transition: transform 0.3s ease;
}
/* Ховер (только на устройствах с мышью) */
@media (hover: hover) and (pointer: fine) {
  .gallery a:hover img {
    transform: scale(1.02);
  }
}
/* Доступность с клавиатуры */
.gallery a:focus-visible {
  outline: 2px solid var(--color-gold, #caa54d);
  outline-offset: 2px;
  border-radius: 8px;
}
/* Подпись под карточкой */
.gallery figcaption {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #6b7280;
  text-align: left;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ===== Fancybox (активна вместо native <dialog>) ===== */
.fancybox__backdrop {
  background: rgba(0, 0, 0, 0.9);
}
.fancybox__caption {
  margin-top: 0.75rem;
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
}
/* === Before/After compare (надёжный, без JS) === */
.compare {
  position: relative;
  --pos:50;
  /* число 0–100, в проценты преобразуем в CSS */
  touch-action: none;
  /* не даём браузеру перехватывать жесты */
}
.compare__img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
/* Основной путь: маскируем overlay через clip-path */
@supports (clip-path: inset(0 0 0 0)) {
  .compare__reveal {
    position: absolute;
    inset: 0;
    -webkit-clip-path: inset(0 calc(100% - (var(--pos,50)*1%)) 0 0);
    clip-path: inset(0 calc(100% - (var(--pos,50)*1%)) 0 0);
    will-change: clip-path;
  }
}
/* Фолбэк: сужаем overlay шириной */
@supports not (clip-path: inset(0 0 0 0)) {
  .compare__reveal {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: calc(var(--pos,50)*1%);
  }
}
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pos,50)*1%);
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  z-index: 2;
}
.compare__handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
  /* всегда поверх */
}
.compare__labels {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  z-index: 1;
  pointer-events: none;
  color: #fff;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
  font-weight: 600;
  font-size: 0.9rem;
}
/* Блок видео и история */
.section-story {
  background-color: #FAF8F3;
}
.section-story h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.section-story p {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.section-story .video-wrapper {
  margin: 2rem 0;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.section-story .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* === HERO LCP improvements === */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* если у тебя уже есть .overlay — этот блок просто гарантирует правильный слой */
.hero-content {
  position: relative;
  z-index: 2;
}
/* убираем инлайн-стили из hero-grid */
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}
