/* ============ Идеальная блондинка — стили ============ */

:root {
  --bg: #FAF6EF;
  --bg-alt: #F3EBDD;
  --card: #FFFDF9;
  --dark: #2A2119;
  --dark-2: #3A2E22;
  --text: #4A3E31;
  --muted: #8A7B6C;
  --gold: #B98A45;
  --gold-deep: #9A6F33;
  --gold-light: #D9B98C;
  --line: rgba(185, 138, 69, .28);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Manrope', Arial, sans-serif;
  --shadow: 0 20px 60px rgba(42, 33, 25, .10);
  --radius: 18px;
  --header-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section { padding: 110px 0; }

/* --- Типографика --- */
.overtitle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 18px;
}
.overtitle::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
}

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 22px;
}
.section__title em {
  font-style: italic;
  color: var(--gold-deep);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section__head .overtitle { justify-content: center; }
.section__head .overtitle::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
}
.section__sub { color: var(--muted); }

/* --- Кнопки --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: #fff;
  box-shadow: 0 12px 30px rgba(185, 138, 69, .38);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(185, 138, 69, .48); }
.btn--ghost {
  border: 1.5px solid var(--line);
  color: var(--dark);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-3px); }
.btn--wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .35);
}
.btn--wa:hover { transform: translateY(-3px); }
.btn--wa svg { width: 20px; height: 20px; }

/* --- Шапка --- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.header--scrolled {
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(42, 33, 25, .08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .05em;
  background: rgba(185, 138, 69, .08);
}
.logo__text {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--dark);
  line-height: 1.1;
}
.logo__text em { font-style: italic; color: var(--gold-deep); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav__link:hover::after, .nav__link--active::after { width: 100%; }
.nav__link--active { color: var(--gold-deep); }
.nav__phone {
  font-weight: 800;
  font-size: 14px;
  color: var(--dark);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  transition: all .25s ease;
  white-space: nowrap;
}
.nav__phone:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 120;
}
.burger span {
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(217, 185, 140, .28), transparent 60%),
    radial-gradient(700px 420px at 0% 90%, rgba(217, 185, 140, .22), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 24px;
}
.hero__title em { font-style: italic; color: var(--gold-deep); }
.hero__text {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero__text strong { color: var(--dark); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 44px;
}
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1;
}
.stat__label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: .04em;
}

.hero__media { position: relative; }
.hero__frame {
  position: relative;
  border-radius: 160px 160px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero__frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(250, 246, 239, .55);
  border-radius: 150px 150px 12px 12px;
  z-index: 2;
  pointer-events: none;
}
.hero__img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: top;
}
.hero__badge {
  position: absolute;
  left: -34px;
  bottom: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.hero__badge-num {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--gold-deep);
}
.hero__badge-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: #FFFDF9;
  clip-path: ellipse(60% 100% at 50% 100%);
  opacity: .9;
}

/* --- Обо мне --- */
.about { background: #FFFDF9; }
.about__inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about__media { position: relative; }
.about__img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about__media::before {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%;
  height: 62%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  z-index: -1;
}
.about__sign {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  background: rgba(250, 246, 239, .9);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 14px 22px;
  border: 1px solid var(--line);
}
.about__sign-name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--dark);
}
.about__sign-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold-deep);
}
.about__text { margin-bottom: 18px; }
.about__list { margin-top: 26px; display: grid; gap: 12px; }
.about__list li {
  position: relative;
  padding-left: 34px;
  color: var(--text);
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B98A45' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* --- Услуги (тёмная секция) --- */
.services {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(185, 138, 69, .14), transparent 60%),
    linear-gradient(160deg, #2E241B, #241C14);
}
.services__inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.services .overtitle { color: var(--gold-light); }
.services .overtitle::before { background: var(--gold-light); }
.section__title--light { color: #F5EFE4; }
.section__title--light em { color: var(--gold-light); }
.services__text { color: rgba(245, 239, 228, .65); margin-bottom: 34px; }

.services__list { display: grid; gap: 20px; }
.price {
  background: rgba(250, 246, 239, .045);
  border: 1px solid rgba(217, 185, 140, .18);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.price:hover {
  border-color: rgba(217, 185, 140, .5);
  background: rgba(250, 246, 239, .07);
  transform: translateX(6px);
}
.price__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.price__name {
  font-family: var(--serif);
  font-size: 19px;
  color: #F5EFE4;
  white-space: nowrap;
}
.price__dots {
  flex: 1;
  border-bottom: 1.5px dotted rgba(217, 185, 140, .35);
  transform: translateY(-4px);
}
.price__value {
  font-weight: 800;
  color: var(--gold-light);
  white-space: nowrap;
}
.price__desc {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(245, 239, 228, .55);
}

/* --- Портфолио --- */
.portfolio { background: #FFFDF9; }
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(42, 33, 25, .12);
}
.work img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform .6s ease;
}
.work:hover img { transform: scale(1.07); }
.work figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 20px 16px;
  background: linear-gradient(transparent, rgba(30, 22, 14, .78));
  color: #F5EFE4;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.work:hover figcaption { opacity: 1; transform: translateY(0); }

/* --- Отзывы --- */
.reviews { background: var(--bg-alt); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 12px 34px rgba(42, 33, 25, .07);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review__stars { color: var(--gold); letter-spacing: .2em; font-size: 15px; }
.review__text { font-size: 15px; color: var(--text); flex: 1; }
.review__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}
.review__name { display: block; font-weight: 700; color: var(--dark); font-size: 15px; }
.review__meta { display: block; font-size: 12.5px; color: var(--muted); }

/* --- Контакты --- */
.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 54px;
}
.contacts__text { margin-bottom: 34px; }

.contacts__list { display: grid; gap: 22px; margin-bottom: 36px; }
.contact { display: flex; gap: 18px; align-items: flex-start; }
.contact__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(185, 138, 69, .1);
  border: 1px solid var(--line);
  color: var(--gold-deep);
}
.contact__icon svg { width: 22px; height: 22px; }
.contact__label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact__value { display: block; font-weight: 700; color: var(--dark); font-size: 17px; }
a.contact__value:hover { color: var(--gold-deep); }
.contact__note { display: block; font-size: 13.5px; color: var(--muted); }

/* Форма */
.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 38px 36px;
  box-shadow: var(--shadow);
}
.form__title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}
.form__note { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.form__field { display: block; margin-bottom: 18px; }
.form__field span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--dark);
  margin-bottom: 8px;
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #FFFDF9;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--dark);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
  resize: vertical;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(185, 138, 69, .12);
}
.form__btn { width: 100%; margin-top: 6px; }
.form__policy {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Карта */
.map {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  line-height: 0;
}
.map iframe { display: block; border: 0; }

/* --- Подвал --- */
.footer {
  background: var(--dark);
  color: rgba(245, 239, 228, .6);
  padding: 46px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.logo--footer .logo__text { color: #F5EFE4; }
.logo--footer .logo__mark { border-color: var(--gold-light); color: var(--gold-light); background: transparent; }
.footer__info { font-size: 14.5px; }
.footer__info a { color: var(--gold-light); font-weight: 700; }
.footer__copy { font-size: 13px; opacity: .7; }

/* --- Плавающая кнопка WhatsApp --- */
.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 34px rgba(37, 211, 102, .45);
  transition: transform .25s ease;
  animation: pulse 2.6s ease-out infinite;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes pulse {
  0% { box-shadow: 0 14px 34px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .45); }
  70% { box-shadow: 0 14px 34px rgba(37, 211, 102, .45), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 14px 34px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Лайтбокс --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 18, 12, .93);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox--open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(860px, 86vw);
  max-height: 84vh;
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
  object-fit: contain;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(250, 246, 239, .12);
  border: 1px solid rgba(250, 246, 239, .25);
  color: #F5EFE4;
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .25s ease;
  font-family: var(--sans);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(185, 138, 69, .55); }
.lightbox__close {
  top: 26px; right: 26px;
  width: 48px; height: 48px;
  font-size: 26px;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  font-size: 34px;
  line-height: 1;
}
.lightbox__nav--prev { left: 26px; }
.lightbox__nav--next { right: 26px; }

/* --- Анимация появления --- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal--visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__badge, .wa-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* --- Адаптив --- */
@media (max-width: 1024px) {
  .hero__inner { gap: 40px; }
  .hero__img { height: 520px; }
  .about__inner { gap: 44px; }
  .about__img { height: 480px; }
  .services__inner { gap: 44px; }
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: rgba(250, 246, 239, .98);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 110;
  }
  .nav--open { opacity: 1; visibility: visible; }
  .nav__link { font-size: 22px; font-family: var(--serif); }
  .nav__phone { font-size: 18px; padding: 14px 28px; }
  .burger { display: flex; }

  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 420px; margin: 0 auto; }
  .hero__img { height: 460px; }
  .hero__badge { left: auto; right: -8px; bottom: 24px; }
  .hero__stats { gap: 30px; }
  .stat__num { font-size: 32px; }

  .about__inner, .services__inner, .contacts__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; margin: 0 auto; }
  .about__img { height: 440px; }

  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { justify-content: space-between; width: 100%; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .work img { height: 340px; }
  .form { padding: 28px 22px; }
  .price__row { flex-wrap: wrap; }
  .price__dots { display: none; }
  .price__name { white-space: normal; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
