/* Главная: отдельная подача. Тексты страницы не меняются. */

body.page-home {
  background:
    radial-gradient(720px 360px at 8% 8%, rgba(227, 170, 42, 0.16), transparent 60%),
    radial-gradient(680px 380px at 96% 0%, rgba(47, 110, 156, 0.14), transparent 55%),
    #f5f7fb;
}

body.page-home::before,
body.page-home::after {
  background: none;
}

.page-home .header {
  position: relative;
  top: auto;
}

.page-home .header::before {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-home h2,
.page-home h3,
.page-home .vs-block,
.page-home .manual-section,
.page-home .tariff-section,
.page-home .reviews-block,
.page-home .faq-block {
  scroll-margin-top: 96px;
}

.page-home .title-block {
  width: auto;
  box-sizing: border-box;
  min-height: calc(100svh - 7.5rem);
  min-height: calc(100dvh - 7.5rem);
  margin: 0;
  padding: 0.4rem 0 0.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  color: #14273e;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  animation: homeRise 0.7s ease both;
}

.page-home .home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
}

.page-home .home-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

.page-home .title-block .photographers-title {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-align: left;
  margin: 0;
  color: #12263c;
  background: none;
  -webkit-text-fill-color: #12263c;
}

.page-home .title-block .photographers-title::after {
  content: '';
  display: block;
  width: 84px;
  height: 5px;
  margin-top: 0.9rem;
  border-radius: 99px;
  background: linear-gradient(90deg, #e3aa2a, #2f6e9c, #e3aa2a);
  background-size: 200% 100%;
  animation: homeBar 3.2s ease infinite;
}

.page-home .title-block h2,
.page-home .title-block .photographers-subtitle {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem) !important;
  line-height: 1.55;
  text-align: left;
  margin: 0;
  max-width: 34rem;
  color: #3d5270;
  background: none;
  -webkit-text-fill-color: #3d5270;
}

.page-home .hero-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 100%;
  justify-content: stretch;
  align-items: stretch;
  margin: 4.25rem 0 0;
  gap: 0.6rem;
}

.page-home .hero-cta-card {
  width: 100%;
  min-width: 0;
  flex: none;
  padding: 0;
}

.page-home .hero-cta-card .cta-button {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  border: 1.5px solid transparent;
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 0.72rem 0.65rem;
}

.page-home .hero-cta-card:first-child .cta-button,
.page-home .hero-cta-card:first-child .cta-button:hover {
  border: none;
  background: #edb300;
  box-shadow: 0 14px 24px -16px rgba(150, 100, 10, 0.95);
  padding: calc(0.72rem + 1.5px) 0.65rem;
}

.page-home .hero-cta-card:last-child .cta-button {
  background: #fff;
  color: #14273e;
  border: 1.5px solid rgba(20, 39, 62, 0.18);
  box-shadow: 0 10px 24px -18px rgba(20, 39, 62, 0.5);
}

.page-home .hero-cta-card:last-child .cta-button:hover {
  border-color: #e3aa2a;
  background: #fffaf0;
}

@media (min-width: 901px) {
  .page-home .hero-cta-card .cta-button {
    font-size: 1rem;
    padding: 0.78rem 0.5rem;
  }

  .page-home .hero-cta-card:first-child .cta-button,
  .page-home .hero-cta-card:first-child .cta-button:hover {
    padding: calc(0.78rem + 1.5px) 0.5rem;
  }
}

@media (min-width: 1240px) {
  .page-home .hero-cta-card .cta-button {
    font-size: 1.12rem;
    padding: 0.82rem 0.75rem;
  }

  .page-home .hero-cta-card:first-child .cta-button,
  .page-home .hero-cta-card:first-child .cta-button:hover {
    padding: calc(0.82rem + 1.5px) 0.75rem;
  }
}

.page-home .home-hero-stage {
  position: relative;
  min-height: 280px;
  animation: homeRise 0.9s 0.12s ease both;
}

.page-home .home-orb {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-orb-a {
  width: 220px;
  height: 220px;
  right: -20px;
  top: -30px;
  background: radial-gradient(circle, rgba(227, 170, 42, 0.55), rgba(227, 170, 42, 0) 70%);
  animation: homeDrift 9s ease-in-out infinite alternate;
}

.page-home .home-orb-b {
  width: 260px;
  height: 260px;
  left: -40px;
  bottom: -30px;
  background: radial-gradient(circle, rgba(47, 110, 156, 0.4), rgba(47, 110, 156, 0) 70%);
  animation: homeDrift 11s ease-in-out infinite alternate-reverse;
}

.page-home .home-shot {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 60px -28px rgba(18, 40, 70, 0.45), 0 8px 20px -12px rgba(18, 40, 70, 0.3);
  animation: homeFloat 6.5s ease-in-out infinite;
  background: #fff;
}

.page-home .hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: block;
  margin: 0 0 0 -23px;
  transform: none;
  width: 46px;
  height: 46px;
  background: #fff;
  border: 1px solid rgba(20, 39, 62, 0.12);
  box-shadow: 0 10px 24px -16px rgba(20, 39, 62, 0.45);
  animation: homeBob 1.8s ease-in-out infinite;
}

.page-home .hero-scroll-indicator:hover {
  transform: translateY(-3px);
}

.page-home .vs-block,
.page-home .vs-block-dark {
  background: #fff;
  color: #1c2a44;
  border-radius: 28px;
  border: 1px solid rgba(20, 39, 62, 0.06);
  box-shadow: 0 24px 50px -32px rgba(18, 40, 70, 0.35);
}

.page-home .vs-block p {
  color: #2c415c;
}

.page-home .vs-block-lead {
  font-family: Manrope, Inter, sans-serif;
  color: #12263c;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.page-home .vs-block .highlight-yellow {
  color: #8d5e00;
}

.page-home .vs-block:hover {
  transform: translateY(-6px);
}

.page-home .manual-section {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 50px -36px rgba(18, 40, 70, 0.4);
}

.page-home .manual-section h3,
.page-home .tariff-section h3,
.page-home .reviews-title,
.page-home .faq-title {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #12263c;
  background: none;
  -webkit-text-fill-color: #12263c;
}

.page-home .manual-section h3 {
  border-left-color: #e3aa2a;
}

.page-home .manual-grid-home {
  counter-reset: step;
}

.page-home .manual-grid-home .manual-item {
  counter-increment: step;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(20, 39, 62, 0.06);
  box-shadow: 0 16px 30px -26px rgba(18, 40, 70, 0.55);
  padding: 1.35rem 1.3rem 1.2rem;
}

.page-home .manual-grid-home .manual-item::after {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #e3aa2a;
}

.page-home .manual-grid-home .manual-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #e3aa2a, #2f6e9c);
  transform: scaleY(0.35);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.page-home .manual-grid-home .manual-item:hover::before {
  transform: scaleY(1);
}

.page-home .manual-grid-home .manual-item:hover {
  transform: translateY(-8px);
  border-color: rgba(227, 170, 42, 0.45);
  box-shadow: 0 22px 40px -24px rgba(18, 40, 70, 0.35);
}

.page-home .site-scan-item {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(20, 39, 62, 0.06);
  box-shadow: 0 12px 24px -22px rgba(18, 40, 70, 0.5);
  overflow: hidden;
}

.page-home .site-scan-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #2f6e9c, #e3aa2a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.page-home .site-scan-item {
  position: relative;
}

.page-home .site-scan-item:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 110, 156, 0.25);
}

.page-home .site-scan-item:hover::after {
  transform: scaleX(1);
}

.page-home .legal-card-photographers {
  position: relative;
  isolation: isolate;
  background: #fff;
  border: 1px solid rgba(20, 39, 62, 0.08);
  border-radius: 22px;
  box-shadow: 0 22px 40px -30px rgba(18, 40, 70, 0.35);
  color: #1c2a44;
  overflow: hidden;
  padding: 1.35rem 1.4rem 1.2rem;
  margin: 1.15rem 0;
}

.page-home .legal-card-photographers::before {
  content: none;
}

.page-home .legal-card-photographers > * {
  position: relative;
  z-index: 1;
}

.page-home .legal-card-photographers:hover {
  transform: translateY(-6px);
}

.page-home .legal-card-photographers h2 {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #12263c;
  border-left: none;
  padding-left: 0;
  margin: 0 0 1rem;
}

.page-home .legal-card-photographers h2::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 0.7rem;
  border-radius: 99px;
  background: linear-gradient(90deg, #e3aa2a, #7eb6de, #e3aa2a);
  background-size: 200% 100%;
  animation: homeBar 3.2s ease infinite;
}

.page-home .legal-card-photographers .law-articles {
  align-items: stretch;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.page-home .legal-card-photographers .law-item {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #f6f8fb;
  border: 1px solid rgba(20, 39, 62, 0.08);
  border-radius: 16px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 1rem 1.1rem 0.75rem 1.15rem;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.page-home .legal-card-photographers .law-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #e3aa2a, #2f6e9c);
  transform: scaleY(0.4);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.page-home .legal-card-photographers .law-item:hover::before,
.page-home .legal-card-photographers .law-item.home-reveal.is-in:hover::before {
  transform: scaleY(1);
}

.page-home .legal-card-photographers .law-item:hover,
.page-home .legal-card-photographers .law-item.home-reveal.is-in:hover {
  transform: translateY(-6px);
  background: #fff;
  border-color: rgba(227, 170, 42, 0.55);
}

.page-home .legal-card-photographers .law-item h3 {
  font-family: Manrope, Inter, sans-serif;
  color: #8d5e00;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.55rem;
}

.page-home .legal-card-photographers .fine-table td {
  position: relative;
  color: #2c415c;
  padding: 0.45rem 0 0.45rem 1rem;
  border-bottom: 1px solid rgba(20, 39, 62, 0.08);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.page-home .legal-card-photographers .fine-table tr:last-child td {
  border-bottom: none;
}

.page-home .legal-card-photographers .fine-table td::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e3aa2a;
}

.page-home .legal-card-photographers .fine-table tr:hover td {
  color: #12263c;
  padding-left: 1.2rem;
}

.page-home .legal-card-photographers .law-note-blue {
  background: #fff8eb;
  border: 1px solid rgba(227, 170, 42, 0.4);
  border-radius: 14px;
  color: #2c415c;
  padding: 0.85rem 1rem;
}

.page-home .legal-card-photographers .highlight-yellow {
  color: #8d5e00;
}

.page-home .tariff-grid-two-cards {
  align-items: stretch;
}

.page-home .tariff-grid-two-cards .tariff-card-popular {
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(20, 39, 62, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 44px -30px rgba(18, 40, 70, 0.4);
  overflow: hidden;
}

.page-home .tariff-grid-two-cards .tariff-card-popular:first-child,
.page-home .tariff-grid-two-cards .tariff-card-popular:first-child.home-reveal,
.page-home .tariff-grid-two-cards .tariff-card-popular:first-child.home-reveal.is-in {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(120deg, #e3aa2a, #2f6e9c, #e3aa2a) border-box;
  border: 2px solid transparent;
  animation: homeGlow 3.6s ease-in-out infinite !important;
}

.page-home .tariff-grid-two-cards .tariff-left {
  flex: none;
  text-align: left;
}

.page-home .tariff-name,
.page-home .price {
  font-family: Manrope, Inter, sans-serif;
  color: #12263c;
}

.page-home .price {
  font-weight: 800;
  letter-spacing: -0.04em;
}

.page-home .tariff-price-block {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.page-home .tariff-old-price {
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .page-home .tariff-old-price {
    font-size: 2rem;
  }
}

.page-home .tariff-price-block .price {
  line-height: 1;
  white-space: nowrap;
}

.page-home .tariff-grid-two-cards .tariff-features {
  background: #f4f7fb;
}

.page-home .tariff-grid-two-cards .tariff-features-grid {
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.page-home .tariff-grid-two-cards .tariff-card-popular:hover {
  transform: translateY(-8px);
}

.page-home .tariff-button {
  border-radius: 999px;
}

.page-home .reviews-block {
  background: transparent;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.page-home .review-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(20, 39, 62, 0.06);
  box-shadow: 0 18px 36px -28px rgba(18, 40, 70, 0.45);
}

.page-home .review-card:hover {
  transform: translateY(-8px);
}

.page-home .review-quote {
  font-family: Manrope, Inter, sans-serif;
  color: #e3aa2a;
}

.page-home .faq-item {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(20, 39, 62, 0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.page-home .faq-item[open] {
  border-color: rgba(227, 170, 42, 0.7);
  box-shadow: 0 16px 32px -24px rgba(18, 40, 70, 0.4);
}

.page-home .home-reveal {
  opacity: 0;
  transform: translateY(26px);
  animation: none !important;
}

.page-home .home-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.page-home .manual-item.home-reveal.is-in:hover,
.page-home .site-scan-item.home-reveal.is-in:hover,
.page-home .review-card.home-reveal.is-in:hover,
.page-home .tariff-card.home-reveal.is-in:hover,
.page-home .vs-block.home-reveal.is-in:hover,
.page-home .law-item.home-reveal.is-in:hover {
  transform: translateY(-8px);
}

@keyframes homeLawGlow {
  0%, 100% { opacity: 0.45; transform: translate3d(0, 0, 0); }
  50% { opacity: 1; transform: translate3d(-12px, 10px, 0); }
}

@keyframes homeRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes homeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes homeDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(16px, -18px, 0); }
}

@keyframes homeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

@keyframes homeBar {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes homeGlow {
  0%, 100% { box-shadow: 0 24px 44px -30px rgba(18, 40, 70, 0.4); }
  50% { box-shadow: 0 26px 48px -24px rgba(227, 170, 42, 0.45); }
}

@media (max-width: 900px) {
  .page-home .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-home .title-block .photographers-title,
  .page-home .title-block .photographers-subtitle,
  .page-home .home-hero-copy {
    text-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .hero-cta-grid {
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
  }

  .page-home .title-block .photographers-title {
    max-width: none;
  }

  .page-home .title-block .photographers-title::after {
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .home-hero-stage {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .page-home .hero-cta-card .cta-button {
    font-size: 0.68rem;
    padding: 0.58rem 0.4rem;
  }

  .page-home .hero-cta-card:first-child .cta-button,
  .page-home .hero-cta-card:first-child .cta-button:hover {
    padding: calc(0.58rem + 1.5px) 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .title-block,
  .page-home .home-hero-stage,
  .page-home .home-shot,
  .page-home .home-orb,
  .page-home .hero-scroll-indicator,
  .page-home .title-block .photographers-title::after,
  .page-home .legal-card-photographers::before,
  .page-home .legal-card-photographers h2::after,
  .page-home .tariff-grid-two-cards .tariff-card-popular:first-child,
  .page-home .home-reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
