/* ===== Wedding Solutions — лендинг ===== */
:root {
  --cream:      #f6f1e9;
  --cream-2:    #efe8dc;
  --ivory:      #fbf8f3;
  --taupe:      #b3a489;
  --taupe-dk:   #8c7c64;
  --brown:      #6f6150;
  --brown-dk:   #54483a;
  --line:       #d9cdb8;
  --gold:       #c8b797;
  --gold-dk:    #b6a283;
  --gold-deep:    #8a6a30;
  --gold-deep-dk: #6f5525;
  --white:      #ffffff;
  --shadow:     0 18px 50px rgba(120, 104, 80, .12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ivory); }
body {
  margin: 0;
  position: relative;
  font-family: var(--sans);
  color: var(--brown);
  background: transparent;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---- единый фон-картинка на всю страницу ---- */
.page-bg {
  position: fixed; inset: 0; z-index: -2;
  background: var(--ivory) url("../img/hero.jpg?v=5") no-repeat center top;
  background-size: cover;
  will-change: background-position;
}
.page-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(251,248,243,.14) 0%, rgba(251,248,243,.42) 46%, rgba(251,248,243,.58) 100%);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- кнопки ---- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 2px;
  cursor: pointer;
  transition: all .25s ease;
  border: 1px solid var(--gold-dk);
}
/* Заметная CTA «Вход в почту»: глубокое золото даёт контраст 5:1 к белому
   тексту — на светлом фоне героя кнопку видно сразу. */
.btn--solid {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 17px 40px;
}
.btn--solid:hover,
.btn--solid:focus-visible { background: var(--gold-deep-dk); border-color: var(--gold-deep-dk); }
.btn--ghost { background: transparent; color: var(--brown); border-color: var(--line); }
.btn--ghost:hover { background: var(--cream-2); }

/* ---- разделитель-сердечко ---- */
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px 0; }
.divider::before, .divider::after { content: ""; width: 46px; height: 1px; background: var(--line); }
.divider-heart { color: var(--taupe); font-size: 14px; }

/* ===== ШАПКА ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .9);
  border-bottom: 1px solid rgba(217, 205, 184, .45);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { display: grid; grid-template-columns: auto; justify-items: center; line-height: 1.1; }
.logo-heart { color: var(--taupe); font-size: 13px; }
.logo-name { font-family: var(--serif); font-size: 24px; letter-spacing: .14em; color: var(--brown-dk); text-transform: uppercase; }
.logo-sub { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--taupe-dk); margin-top: 2px; }

.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brown);
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold-dk); transition: width .25s; }
.nav a:hover { color: var(--taupe-dk); }
.nav a:hover::after { width: 100%; }
.nav-cta { margin-left: 8px; background: var(--cream-2); border-color: var(--cream-2); color: var(--brown-dk); }
.nav-cta:hover { background: #e3d7c2; border-color: #e3d7c2; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.burger span { width: 26px; height: 2px; background: var(--brown); transition: .25s; }
.burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity: 0; }
.burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: transparent;
  overflow: hidden;
}
.hero-overlay { display: none; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hero .divider { justify-content: flex-start; margin-left: 0; }
.hero-kicker { font-size: 14px; letter-spacing: .14em; color: var(--taupe-dk); text-transform: uppercase; margin: 0 0 18px; }
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 12vw, 104px); line-height: .98;
  letter-spacing: .04em; color: var(--brown-dk);
  margin: 0; text-transform: uppercase;
}
.hero-text { font-size: 15px; letter-spacing: .08em; color: var(--brown); margin: 8px 0 30px; }
.hero-btn { box-shadow: 0 14px 34px rgba(138, 106, 48, .34); }

/* ===== СЕКЦИИ ===== */
.section { padding: 72px 0; }
/* отступ для якорей, чтобы липкая шапка не перекрывала заголовки секций */
#services, #advantages, #portfolio, #about { scroll-margin-top: 100px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4.5vw, 46px); letter-spacing: .12em;
  text-transform: uppercase; color: var(--brown-dk); margin: 0;
}

/* карточки (услуги + преимущества) */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.card {
  background: transparent;
  border: 0;
  padding: 16px 18px;
  text-align: center;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-4px); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; border: 1px solid var(--line); border-radius: 50%; color: var(--taupe-dk); margin-bottom: 24px; }
.card-icon svg { width: 38px; height: 38px; }
.card-num {
  display: block; font-family: var(--serif); font-size: 46px;
  color: var(--gold-dk); line-height: 1; margin-bottom: 16px;
}
.card-title {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown-dk); margin: 0 0 12px; font-weight: 400;
}
.card-text { font-size: 14px; color: var(--taupe-dk); margin: 0; }

.advantages { background: transparent; }

/* портфолио */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 3/4; box-shadow: 0 10px 30px rgba(120,104,80,.08); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* CTA */
.cta { text-align: center; }
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-text { font-size: 16px; color: var(--taupe-dk); margin-top: 8px; }

/* об организаторе */
.about-inner { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; max-width: 920px; margin: 0 auto; }
.about-photo { width: 300px; height: 300px; border-radius: 50%; overflow: hidden; border: 6px solid var(--white); box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.about-name { font-family: var(--serif); font-size: 40px; letter-spacing: .08em; text-transform: uppercase; color: var(--brown-dk); margin: 0; }
.about-role { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dk); margin: 6px 0 22px; }
.about-tagline { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--taupe-dk); margin: 0 0 26px; }
.contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contacts li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--brown); }
.contact-ic { width: 20px; height: 20px; color: var(--taupe); flex: none; }
.contacts a { transition: color .2s; }
.contacts a:hover { color: var(--gold-dk); }
.contact-mail { border-bottom: 1px solid var(--line); }

/* футер */
.site-footer { background: rgba(251,248,243,.7); border-top: 1px solid rgba(217,205,184,.6); color: var(--brown); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-logo { font-family: var(--serif); font-size: 20px; letter-spacing: .14em; text-transform: uppercase; color: var(--brown-dk); }
.footer-mid { font-size: 13px; color: var(--taupe-dk); }
.footer-copy { font-size: 12px; color: var(--taupe); }

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav, .nav-cta { display: none; }
  .burger { display: flex; }
  .header-inner { justify-content: space-between; }
  .logo { justify-items: start; }

  /* выпадающее меню */
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); margin: 0;
    box-shadow: 0 12px 24px rgba(120, 104, 80, .12);
  }
  .nav.is-open a { padding: 16px 24px; border-top: 1px solid rgba(217,205,184,.5); }

  .section { padding: 52px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 30px; }
  .contacts li { justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .about-photo { width: 230px; height: 230px; }
  .hero-content { padding-top: 0; }
}

/* ===== Читаемость текста поверх фоновой картинки ===== */
.hero-kicker, .cta-text, .card-text, .about-tagline, .contacts li { color: var(--brown-dk); }
.hero-kicker, .hero-title, .hero-text, .section-title,
.card-title, .card-text, .card-num, .cta-text,
.about-name, .about-role, .about-tagline, .contacts li {
  text-shadow: 0 0 4px #fff, 0 0 8px #fff, 0 0 16px rgba(255,255,255,.95), 0 1px 2px #fff;
}
/* мягкая белая подложка-свечение под контентом секций (без жёстких рамок:
   центр светлеет под текстом, цветы по краям остаются видны) */
.services, .advantages, .cta, .about {
  background: radial-gradient(ellipse 94% 74% at 50% 50%, rgba(252,250,247,.80) 0%, rgba(252,250,247,.48) 54%, rgba(252,250,247,0) 84%);
}

/* ===== Адаптив: правки для телефонов (после блока читаемости) ===== */
@media (max-width: 540px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-item { border-radius: 3px; }
  .about-name { font-size: 30px; letter-spacing: .04em; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 30px; }
  /* на узких экранах ровная мягкая подложка вместо центрального радиала */
  .services, .advantages, .cta, .about { background: rgba(252, 250, 247, .68); }
}
