/* Виктория и Рокси — лендинг кинолога */
:root {
  --cream: #FAF4EC;
  --cream-2: #F3E9DC;
  --paper: #FFFDF9;
  --ink: #3E2A23;
  --ink-soft: #6E574C;
  --wine: #93353F;
  --wine-dark: #76262F;
  --terra: #D98E6A;
  --peach: #F4CDB6;
  --sage: #A8B79A;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 14px 40px rgba(62, 42, 35, .10);
  --shadow-soft: 0 8px 24px rgba(62, 42, 35, .08);
  --font-head: 'Comfortaa', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-hand: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 21px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 32px;
  background: var(--wine); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  border: none; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 26px rgba(147, 53, 63, .35);
  transition: transform .25s, box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn:hover { background: var(--wine-dark); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(147, 53, 63, .42); }
.btn--ghost {
  background: transparent; color: var(--wine);
  border: 2px solid var(--wine); box-shadow: none;
}
.btn--ghost:hover { background: var(--wine); color: #fff; }
.btn--light { background: #fff; color: var(--wine); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.btn--light:hover { background: var(--cream-2); }
.btn--small { height: 44px; padding: 0 22px; font-size: 14px; }
.btn--big { height: 62px; padding: 0 40px; font-size: 17px; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.scrolled {
  background: rgba(250, 244, 236, .88);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(62, 42, 35, .08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.logo__paw { font-size: 24px; transform: rotate(-14deg); }
.logo__text i { font-style: normal; color: var(--wine); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__link { font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.nav__link:hover { color: var(--wine); }
.nav__cta { margin-left: 6px; }

/* ---------- Mobile bottom bar ---------- */
.mobilebar { display: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 150px 0 90px;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(244, 205, 182, .55), transparent 70%),
    radial-gradient(45% 40% at 5% 90%, rgba(168, 183, 154, .30), transparent 70%),
    var(--cream);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--paper); border: 1px solid rgba(62,42,35,.08);
  padding: 9px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  box-shadow: var(--shadow-soft); margin-bottom: 24px;
}
.badge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wine); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(147,53,63,.4);} 50% { box-shadow: 0 0 0 7px rgba(147,53,63,0);} }
.hero__title { font-size: clamp(36px, 5.2vw, 62px); margin-bottom: 22px; }
.hero__title em { font-style: normal; color: var(--wine); position: relative; }
.hero__title em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
  background: var(--peach); z-index: -1; border-radius: 6px; transform: rotate(-1deg);
}
.hero__lead { font-size: 18px; color: var(--ink-soft); max-width: 480px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__facts { display: flex; gap: 42px; list-style: none; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts b { font-family: var(--font-head); font-size: 30px; color: var(--wine); }
.hero__facts span { font-size: 13.5px; color: var(--ink-soft); max-width: 130px; line-height: 1.35; }

.hero__media { position: relative; }
.hero__arch {
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  border: 8px solid var(--paper);
  transform: rotate(2deg);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.hero__card {
  position: absolute; left: -46px; bottom: 44px;
  display: flex; align-items: center; gap: 13px;
  background: var(--paper); border-radius: var(--radius);
  padding: 15px 20px; box-shadow: var(--shadow); max-width: 250px;
}
.hero__card-emoji { font-size: 30px; }
.hero__card b { font-family: var(--font-head); }
.hero__card p { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.hero__sticker {
  position: absolute; top: 26px; right: -14px;
  font-family: var(--font-hand); font-size: 30px; font-weight: 700;
  color: #fff; background: var(--wine);
  padding: 6px 22px 10px; border-radius: 12px;
  transform: rotate(6deg); box-shadow: var(--shadow);
}
.float-slow { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--wine); color: var(--cream);
  width: 110%; margin-left: -5%;
  transform: rotate(-1.6deg);
  margin-top: -18px; margin-bottom: 18px;
  padding: 14px 0; overflow: hidden;
  box-shadow: var(--shadow);
  position: relative; z-index: 2;
}
.marquee__track { display: flex; width: max-content; animation: scroll 30s linear infinite; }
.marquee__track span {
  font-family: var(--font-head); font-weight: 600; font-size: 17px;
  letter-spacing: .06em; white-space: nowrap;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section--cream { background: var(--cream-2); }
.section__head { max-width: 900px; margin-bottom: 52px; }
.section__tag {
  display: inline-block; font-family: var(--font-hand); font-size: 26px; font-weight: 700;
  color: var(--wine); margin-bottom: 6px; transform: rotate(-1.5deg);
}
.section__tag--light { color: var(--peach); }
.section__sub { color: var(--ink-soft); margin-top: 14px; font-size: 17px; }

/* ---------- Problems ---------- */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem {
  background: var(--paper); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid rgba(62,42,35,.05);
  transition: transform .25s, box-shadow .25s;
}
.problem:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.problem__icon { font-size: 30px; }
.problem p { font-weight: 600; font-size: 15.5px; line-height: 1.45; }
.problems__banner {
  margin-top: 28px;
  background: linear-gradient(115deg, var(--wine), var(--wine-dark));
  color: #fff; border-radius: var(--radius-lg);
  padding: 34px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  box-shadow: var(--shadow);
}
.problems__banner b { font-family: var(--font-head); font-size: 22px; display: block; margin-bottom: 6px; }
.problems__banner p { opacity: .88; font-size: 15.5px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__collage {
  position: relative;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px;
}
.about__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform .4s; }
.about__photo:hover img { transform: scale(1.05); }
.about__photo--big { grid-row: span 2; }
.about__photo--big img { aspect-ratio: auto; height: 100%; }
.about__photo:nth-child(3) { transform: rotate(2deg); }
.about__photo:nth-child(4) { transform: rotate(-2.5deg); }
.about__scribble {
  position: absolute; bottom: -34px; right: 8px;
  font-family: var(--font-hand); font-size: 28px; font-weight: 700; color: var(--wine);
  transform: rotate(-4deg);
}
.about__text p { color: var(--ink-soft); margin: 18px 0; font-size: 16.5px; }
.about__text h2 { margin-bottom: 6px; }
.about__quote {
  font-family: var(--font-hand); font-size: 24px; font-weight: 600; line-height: 1.35;
  color: var(--wine); border-left: 4px solid var(--terra);
  padding: 6px 0 6px 20px; margin: 26px 0;
}
.about__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  background: var(--paper); border-radius: 999px; padding: 9px 18px;
  font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service {
  position: relative; background: var(--paper);
  border-radius: var(--radius-lg); padding: 36px 34px;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(62,42,35,.05);
  overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service::before {
  content: '🐾'; position: absolute; right: 18px; top: 14px;
  font-size: 64px; opacity: .07; transform: rotate(18deg);
}
.service__num {
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--wine); background: var(--peach);
  padding: 6px 14px; border-radius: 999px; display: inline-block; margin-bottom: 18px;
}
.service h3 { margin-bottom: 12px; }
.service p { color: var(--ink-soft); font-size: 15.5px; }
.service__cmds {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed rgba(62,42,35,.18);
  font-size: 14px !important; font-weight: 600; color: var(--wine) !important;
}

.quote-banner {
  margin-top: 56px; text-align: left;
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 44px 48px; box-shadow: var(--shadow-soft);
  border-left: 8px solid var(--wine);
}
.quote-banner__text {
  font-family: var(--font-hand); font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700; line-height: 1.3; color: var(--ink);
}
.quote-banner__note { margin-top: 14px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Formats ---------- */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.format {
  background: var(--paper); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-soft);
  transition: transform .25s, box-shadow .25s;
}
.format:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.format__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 18px;
  background: var(--peach); font-size: 26px; margin-bottom: 18px;
}
.format h3 { font-size: 18px; margin-bottom: 10px; }
.format p { font-size: 14.5px; color: var(--ink-soft); }

.honest {
  margin-top: 26px;
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 40px 44px; box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
  border: 1px solid rgba(62,42,35,.05);
}
.honest__text h3 { margin-bottom: 14px; }
.honest__text p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 10px; max-width: 640px; }

/* ---------- Gallery ---------- */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 26px; }
.video-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); background: #241512;
}
.video-card video { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }
.video-card__play {
  position: absolute; inset: 0; margin: auto;
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(147, 53, 63, .92); color: #fff;
  font-size: 24px; border: none; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .25s, opacity .25s;
}
.video-card__play:hover { transform: scale(1.1); }
.video-card.playing .video-card__play { opacity: 0; pointer-events: none; }
.video-card__label {
  position: absolute; left: 16px; bottom: 14px;
  background: rgba(36, 21, 18, .72); color: var(--cream);
  font-size: 13px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px);
  pointer-events: none;
}
.video-card.playing .video-card__label { opacity: 0; }

.gallery { columns: 4; column-gap: 16px; }
.gallery__item {
  display: block; margin-bottom: 16px; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft); break-inside: avoid;
}
.gallery__item img { width: 100%; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- Contacts ---------- */
.section--dark {
  background:
    radial-gradient(50% 60% at 90% 0%, rgba(217, 142, 106, .22), transparent 70%),
    linear-gradient(140deg, #46222A, #331920 60%, #2A151B);
  color: var(--cream);
}
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contacts__text h2 { color: #fff; }
.contacts__text p { color: rgba(250, 244, 236, .78); margin: 18px 0 32px; font-size: 17px; max-width: 440px; }
.contacts__links { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255, 253, 249, .07);
  border: 1px solid rgba(250, 244, 236, .14);
  border-radius: var(--radius); padding: 22px 26px;
  transition: background .25s, transform .25s;
}
.contact-card:hover { background: rgba(255, 253, 249, .13); transform: translateX(6px); }
.contact-card__icon { font-size: 28px; }
.contact-card b { font-family: var(--font-head); font-size: 17px; display: block; margin-bottom: 3px; }
.contact-card p { font-size: 14px; color: rgba(250, 244, 236, .72); }

/* ---------- Footer ---------- */
.footer { background: #2A151B; color: rgba(250,244,236,.55); padding: 26px 0; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(36, 21, 18, .9); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox__close {
  position: absolute; top: 22px; right: 26px;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 20px;
  border: none; cursor: pointer; transition: background .2s;
}
.lightbox__close:hover { background: var(--wine); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(.965);
  filter: blur(6px);
  transition:
    opacity .9s cubic-bezier(.22, 1, .36, 1),
    transform .9s cubic-bezier(.22, 1, .36, 1),
    filter .9s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform, filter;
}
.reveal.visible { opacity: 1; transform: none; filter: blur(0); }

/* Стаггер внутри сеток: элементы вылетают по очереди */
.problems .reveal:nth-child(2), .services .reveal:nth-child(2),
.formats .reveal:nth-child(2), .videos .reveal:nth-child(2) { transition-delay: .08s; }
.problems .reveal:nth-child(3), .services .reveal:nth-child(3),
.formats .reveal:nth-child(3), .videos .reveal:nth-child(3) { transition-delay: .16s; }
.problems .reveal:nth-child(4), .services .reveal:nth-child(4),
.formats .reveal:nth-child(4) { transition-delay: .24s; }
.problems .reveal:nth-child(5) { transition-delay: .32s; }
.problems .reveal:nth-child(6) { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; gap: 70px; }
  .hero__media { max-width: 440px; margin: 0 auto; }
  .hero__card { left: -12px; }
  .problems { grid-template-columns: repeat(2, 1fr); }
  .formats { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 76px; }
  .about__collage { max-width: 520px; }
  .contacts { grid-template-columns: 1fr; gap: 44px; }
  .gallery { columns: 3; }
  .videos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  /* Шапка больше не пинится — уезжает со скроллом */
  .header { position: absolute; }
  .header.scrolled { background: transparent; backdrop-filter: none; box-shadow: none; }
  /* Верхняя навигация и бургер на мобиле не нужны — меню внизу экрана */
  .nav, .burger { display: none; }
  body { padding-bottom: 84px; }
  .mobilebar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 100;
    display: flex; gap: 6px;
    background: rgba(255, 253, 249, .92);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(62,42,35,.08);
    border-radius: 24px; padding: 8px;
    box-shadow: 0 12px 34px rgba(62, 42, 35, .22);
  }
  .mobilebar__btn {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 9px 4px; border-radius: 17px;
    font-family: var(--font-head); font-weight: 600; font-size: 11.5px;
    color: var(--ink-soft);
    transition: background .2s, color .2s, transform .15s;
  }
  .mobilebar__btn:active { transform: scale(.94); }
  .mobilebar__btn span { font-size: 19px; line-height: 1; }
  .mobilebar__btn--cta { background: var(--wine); color: #fff; box-shadow: 0 6px 16px rgba(147,53,63,.35); }
  .hero { padding: 120px 0 70px; }
  .hero__facts { gap: 24px; flex-wrap: wrap; }
  .hero__sticker { right: 4px; font-size: 24px; }
  .problems { grid-template-columns: 1fr; }
  .problems__banner { flex-direction: column; align-items: flex-start; padding: 28px; }
  .services { grid-template-columns: 1fr; }
  .formats { grid-template-columns: 1fr; }
  .honest { flex-direction: column; align-items: flex-start; padding: 30px; }
  .quote-banner { padding: 30px 26px; }
  .videos { grid-template-columns: 1fr; }
  .video-card video { aspect-ratio: 4/5; }
  .gallery { columns: 2; }
  .hero__actions .btn { width: 100%; }
  .footer__inner { justify-content: flex-start; }
}
