@import url('https://fonts.googleapis.com/css2?family=Literata:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ========================================================================
   ОСНОВНЫЕ СТИЛИ (main.css)
   ======================================================================== */


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

html {
  scroll-behavior: smooth;
}

/* ===== КАСТОМНЫЙ СКРОЛЛБАР ===== */
:root {
  --scrollbar-track: rgba(17, 51, 83, 0.14);
  --scrollbar-thumb: linear-gradient(180deg, #2f6e9c 0%, #1e4f79 100%);
  --scrollbar-thumb-hover: linear-gradient(180deg, #3a7eae 0%, #245f8f 100%);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #2f6e9c rgba(17, 51, 83, 0.14);
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, #f0f4fa 0%, #e9eef5 100%);
  color: #1c2a44;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, rgba(47, 110, 156, 0.09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 110, 156, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 110, 156, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 110, 156, 0.05) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 14px 14px, 14px 14px;
  pointer-events: none;
  z-index: 0;
  transform: none;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, rgba(47, 110, 156, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 110, 156, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 7px 7px;
  pointer-events: none;
  z-index: 0;
  transform: none;
}

body > * {
  position: relative;
  z-index: 1;
}

@keyframes gradientShift {
  0% { opacity: 0.58; filter: saturate(1); }
  100% { opacity: 0.96; filter: saturate(1.15); }
}

@keyframes backgroundFloat {
  0% { opacity: 0.48; }
  100% { opacity: 0.82; }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
    transform: none;
  }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== ШАПКА (общая для всех страниц) ===== */
.header {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 215, 234, 0.9);
  box-shadow: 0 6px 28px rgba(17, 51, 83, 0.07);
  z-index: -1;
  pointer-events: none;
}

.container > .header:first-child {
  margin-top: -2rem;
  padding-top: 1rem;
}

.wrap > .header:first-child {
  margin-top: -24px;
  padding-top: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text {
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg,#ffd966 50%, #14273e 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .logo-link {
    justify-content: center;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
  font-weight: 500;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #c7d7ea;
  background: #edb300;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #1d3a5c;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links a {
  text-decoration: none;
  color: #1d3a5c;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2f6e9c, #4a9fd8);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  background: none;
  border: none;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  font-weight: 500;
  line-height: 1.2;
  color: #1d3a5c;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: baseline;
  top: 0;
}

.dropdown-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2f6e9c, #4a9fd8);
  transition: width 0.3s ease;
}

.dropdown-btn:hover::after {
  width: 100%;
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: white;
  min-width: 380px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  border-radius: 16px;
  z-index: 100;
  border: 1px solid #e2eaf5;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.dropdown-content a {
  display: block;
  padding: 0.5rem 1.2rem;
  color: #1d3a5c;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background: #f0f4fa;
  color: #2f6e9c;
}

.dropdown-content a::after {
  display: none;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== ОБЩИЕ БЛОКИ ===== */
.title-block {
  width: 100vw;
  min-height: calc(100vh - 110px);
  margin: 0 0 2rem;
  margin-left: calc(50% - 50vw);
  padding: clamp(4rem, 9vw, 7rem) 2rem clamp(5rem, 8vw, 7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.title-block h2 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #001f3a 0%, #1e3a5f 50%, #2f6e9c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-cta-grid {
  max-width: 860px;
  margin: 1rem auto 0;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-cta-card {
  flex: 0 1 auto;
  min-width: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: center;
}

.hero-cta-card .cta-button {
  width: 340px;
  max-width: 100%;
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(47, 110, 156, 0.2);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 35px rgba(17, 51, 83, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  animation: heroScrollFloat 1.8s ease-in-out infinite;
}

.hero-scroll-indicator::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  width: 16px;
  height: 16px;
  border-right: 3px solid #1e4f79;
  border-bottom: 3px solid #1e4f79;
  transform: translateX(-50%) rotate(45deg);
}

.hero-scroll-indicator::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, rgba(30, 79, 121, 0) 0%, #1e4f79 100%);
  transform: translateX(-50%);
}

.hero-scroll-indicator:hover {
  transform: translateX(-50%) translateY(-4px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(17, 51, 83, 0.24);
}

@keyframes heroScrollFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.cta-block {
  background: #1e3249;
  border-radius: 30px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin: 2.5rem 0;
  color: white;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  animation: scaleIn 0.8s ease-out 0.2s both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 40px -15px #1e3249;
}

.cta-block h3 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: white;
  -webkit-text-fill-color: white;
  background: none;
}

.cta-block p {
  font-size: clamp(1rem, 3vw, 1.1rem);
  opacity: 0.9;
}

.manual-section {
  background: #ffffff;
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  margin: 2.8rem 0;
  border: 1px solid #e2eaf5;
  box-shadow: 0 18px 30px -15px #afc1d6;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.manual-section h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 550;
  margin-bottom: 1.5rem;
  border-left: 5px solid #2f6e9c;
  padding-left: 1.4rem;
  background: linear-gradient(135deg, #001f3a 0%, #1e3a5f 50%, #2f6e9c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.manual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.manual-item {
  background: #f8fafd;
  border-radius: 24px;
  transition: all 0.3s ease;
  height: 100%;
}

.manual-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px -10px rgba(47, 110, 156, 0.2);
}

.manual-item h4 {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 600;
  color: #113353;
  margin-bottom: 1rem;
}

.manual-item li {
  margin: 0.7rem 0;
  color: #2e4a6b;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.manual-item ul {
  list-style: none;
}

.manual-section-home .manual-intro {
  max-width: 920px;
  margin-bottom: 1.4rem;
  color: #4a6280;
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  line-height: 1.7;
}

.manual-grid-home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 0;
  align-items: stretch;
}

.manual-grid-home .manual-item {
  padding: 1.4rem;
  border: 1px solid #e3ebf5;
  box-shadow: 0 14px 24px -18px rgba(17, 51, 83, 0.35);
}

.manual-grid-home .manual-item ul {
  display: grid;
  gap: 0.8rem;
}

.manual-grid-home .manual-item li {
  position: relative;
  display: block;
  margin: 0;
  padding-left: 1.15rem;
  color: #324b67;
  line-height: 1.65;
}

.manual-grid-home .manual-item li::before {
  content: '';
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0b345 0%, #ffd966 100%);
  box-shadow: 0 0 0 4px rgba(240, 179, 69, 0.16);
}

.manual-grid-home .manual-item-summary {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #16344f 0%, #2f6e9c 100%);
  border: none;
  box-shadow: 0 22px 34px -20px rgba(17, 51, 83, 0.55);
}

.manual-grid-home .manual-item-summary h4,
.manual-grid-home .manual-item-summary p {
  color: #ffffff;
}

.manual-grid-home .manual-item-summary p {
  max-width: 760px;
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  line-height: 1.75;
}

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

  .manual-grid-home .manual-item-summary {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .manual-section-home .manual-intro {
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  .manual-grid-home .manual-item {
    padding: 1rem;
  }

  .manual-grid-home .manual-item li {
    padding-left: 1rem;
    line-height: 1.55;
  }
}

.vs-block {
  border-radius: 28px;
  margin: 2rem 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(145deg, #0f2a40 0%, #1b3b5a 100%);
  box-shadow: 0 20px 30px -15px #001d35;
  overflow: hidden;
  transition: all 0.3s ease;
}

.vs-block:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 35px -15px #1e3249;
}

.vs-block p {
  font-size: clamp(1rem, 3vw, 1.1rem);
  color: white;
}

.vs-block-lead {
  display: block;
  text-align: center;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.35rem;
  color: #edb300;
}

.vs-block-lead-tight {
  margin-top: 0.15rem;
  margin-bottom: 0.85rem;
}

.vs-block-dark .vs-block-link {
  color: #ffd966;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vs-block-dark .vs-block-link:hover {
  color: #ffeb99;
}

.vs-block .highlight {
  font-size: clamp(1.5rem, 5vw, 1.2rem);
  font-weight: 700;
  color: #ffd966 !important;
}

/* ===== VS-БЛОК "Узнайте, кто использует ваши фото" (общий) ===== */
.vs-block .flex-container {
  width: 100%;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 1.8rem);
}

.discover-block {
  flex: 1 1 520px;
  min-width: 280px;
  max-width: none;
}

.discover-title {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.discover-text {
  font-size: clamp(1rem, 2.7vw, 1.1rem);
  line-height: 1.55;
  color: #ffffff;
  opacity: 0.92;
  margin-bottom: 1.2rem;
}

.discover-highlight {
  font-weight: 700;
  color: #ffffff;
}

.discover-stats {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.2rem 1.2rem 1rem;
  backdrop-filter: blur(5px);
}

.discover-stats-number {
  color: #ffd966;
  font-size: clamp(1.6rem, 4.8vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.discover-stats-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.35;
}

.discover-example {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .discover-stats {
    padding: 1rem;
  }
  .discover-stats-label {
    font-size: 0.9rem;
  }
  .discover-example {
    font-size: 0.95rem;
  }
}

.legal-card {
  background: #ffffff;
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  margin: 2rem 0;
  border: 1px solid #e2eaf5;
  box-shadow: 0 18px 30px -15px #afc1d6;
  transition: all 0.3s ease;
}

.legal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px -12px #1d3557;
}

.legal-card-photographers {
  background: linear-gradient(145deg, #0f2a40 0%, #1b3b5a 100%);
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  margin: 2rem 0;
  box-shadow: 0 20px 30px -15px #001d35;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #f3f8ff;
}

.legal-card-photographers:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 35px -15px #1e3249;
}

.legal-card-photographers h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #edb300;
  border-left: 5px solid #ffd966;
  padding-left: 1.2rem;
}

.legal-card-photographers .law-item {
  background: rgba(0, 0, 0, 0.25);
  padding: 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(5px);
}

.legal-card-photographers .law-item h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 0.8rem;
  color: #ffffff;
  border-bottom: 2px solid rgba(255, 217, 102, 0.6);
  padding-bottom: 0.5rem;
}

.legal-card-photographers .fine-table,
.legal-card-photographers .fine-table td {
  color: #f3f8ff;
}

.legal-card-photographers .law-note-blue {
  background: rgba(255, 255, 255, 0.12);
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  color: #f3f8ff;
}

.legal-card h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 550;
  margin-bottom: 1.5rem;
  border-left: 5px solid #2f6e9c;
  padding-left: 1.2rem;
}

.law-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.law-item {
  background: #f8fafd;
  padding: 1.2rem;
  border-radius: 20px;
  border: 1px solid #d6e1f0;
}

.law-item h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 0.8rem;
  border-bottom: 2px solid #2f6e9c;
  padding-bottom: 0.5rem;
}

.fine-table {
  width: 100%;
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
}

.fine-table td {
  padding: 0.4rem 0;
}

.tariff-section {
  margin: 3rem 0 2rem;
}

.tariff-section h3 {
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  text-align: center;
  margin-bottom: 1.5rem;
}

.tariff-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.tariff-card {
  flex: 1 1 280px;
  background: white;
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 15px 25px -12px #afc1d6;
  border: 1px solid #cbd8ea;
}

.tariff-card.popular {
  border: 2px solid #2a6291;
  background: #f6faff;
}

.tariff-name {
  font-size: clamp(1.5rem, 4vw, 1.9rem);
}

.price {
  font-size: clamp(2rem, 6vw, 2.8rem);
}

.price--on-request {
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  white-space: nowrap;
  line-height: 1.15;
}

.tariff-card.popular {
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
}

/* ===== СТРАНИЦА КОНТАКТЫ ===== */
.contacts-page-header {
  margin-bottom: 1.2rem;
}

.contacts-page {
  margin: 0 0 2.2rem;
}

.contacts-card {
  background: #ffffff;
  border: 1px solid #d7e4f3;
  border-radius: 28px;
  box-shadow: 0 18px 36px -22px rgba(30, 60, 95, 0.35);
  overflow: hidden;
}

.contacts-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.4rem, 3.5vw, 2rem);
  background: linear-gradient(135deg, #f4f8fc 0%, #eef4fb 100%);
  border-bottom: 1px solid #e2ebf5;
}

.contacts-card-head-text {
  min-width: 0;
}

.contacts-company-name {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 3.2vw, 1.7rem);
  font-weight: 650;
  color: #14324d;
  line-height: 1.25;
}

.contacts-company-desc {
  margin: 0;
  color: #4d6782;
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  line-height: 1.55;
  max-width: 52ch;
}

.contacts-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem clamp(1.2rem, 3vw, 1.8rem);
  border-bottom: 1px solid #edf2f8;
  transition: background-color 0.2s ease;
}

.contact-row:nth-child(odd) {
  border-right: 1px solid #edf2f8;
}

.contact-row:nth-last-child(-n + 2) {
  border-bottom: none;
}

.contact-row:hover {
  background: #f8fbfe;
}

.contact-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  line-height: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-icon-address { background: #3d6f9c; }
.contact-icon-inn { background: #2d6aa3; }
.contact-icon-phone { background: #2d8f6e; }
.contact-icon-email { background: #6b5ca8; }
.contact-icon-site { background: #3d5673; }
.contact-icon-vk { background: #0077ff; }

.contact-icon-text {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
}

.contact-row-body {
  min-width: 0;
  padding-top: 0.1rem;
}

.contact-label {
  color: #6a8098;
  font-size: 0.86rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  margin-bottom: 0.28rem;
}

.contact-value {
  color: #1a334d;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-value a,
.contact-vk-link {
  color: #1d4f7a;
  text-decoration: none;
  font-weight: 560;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-value a:hover,
.contact-vk-link:hover {
  color: #0077ff;
  border-bottom-color: rgba(0, 119, 255, 0.35);
}

.contacts-docs-section {
  margin-top: 0.5rem;
}

.contacts-docs-grid {
  gap: 1rem;
}

.contacts-doc-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem 1.3rem;
  background: #f8fafd;
  border: 1px solid #e2eaf5;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  min-height: 100%;
}

.contacts-doc-card:hover {
  background: #ffffff;
  border-color: #c7d9f0;
  box-shadow: 0 14px 28px -20px rgba(30, 60, 95, 0.45);
  transform: translateY(-2px);
}

.contacts-doc-card h4 {
  margin: 0;
  font-size: 1.08rem;
  color: #14324d;
}

.contacts-doc-card p {
  margin: 0;
  flex: 1;
  color: #5a738d;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contacts-doc-card span {
  color: #2f6e9c;
  font-weight: 600;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .contacts-list {
    grid-template-columns: 1fr;
  }

  .contact-row {
    border-right: none;
  }

  .contact-row:nth-last-child(-n + 2) {
    border-bottom: 1px solid #edf2f8;
  }

  .contact-row:last-child {
    border-bottom: none;
  }
}

.footer {
  margin-top: 3rem;
  padding: 1.5rem 0 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #3d5673;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
}

.footer a {
  color: #3d5673;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.site-footer {
  --footer-padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
  padding: var(--footer-padding);
  border-radius: 0;
  background: transparent;
  color: #f3f8ff;
  box-shadow: none;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: linear-gradient(145deg, #0f2a40 0%, #1b3b5a 100%);
  box-shadow: 0 20px 45px -20px rgba(19, 46, 72, 0.55);
  z-index: -1;
  pointer-events: none;
}

.container > .site-footer:last-child {
  margin-bottom: -2rem;
  padding-bottom: calc(var(--footer-padding) + 2rem);
}

.wrap > .site-footer:last-child {
  margin-bottom: -24px;
  padding-bottom: calc(var(--footer-padding) + 24px);
}

.site-footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(180px, 1fr));
  gap: 1.2rem;
}

.footer-panel {
  position: relative;
  z-index: 1;
  padding: 1.2rem 1.15rem;
  backdrop-filter: blur(6px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .logo-link {
  color: #ffffff;
}

.footer-brand .logo-text {
  color: #f0b345;
  background: none;
  -webkit-text-fill-color: #f0b345;
}

.footer-brand .logo-img {
  box-shadow: 0 8px 24px rgba(10, 23, 38, 0.28);
  border-radius: 12px;
}

.footer-description {
  margin: 0;
  color: rgba(243, 248, 255, 0.88);
  line-height: 1.65;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.footer-action-link-primary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.footer-action-link-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-action-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(10, 23, 38, 0.22);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(243, 248, 255, 0.9);
  font-size: 0.92rem;
}

.footer-column-title {
  margin: 0 0 1rem;
  color: #f0b345;
  font-size: 1.28rem;
}

.footer-links,
.footer-contact-list {
  display: grid;
  gap: 0.7rem;
}

.footer-links a,
.footer-contact-list a {
  position: relative;
  z-index: 1;
  color: rgba(243, 248, 255, 0.88);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-contact-list a:hover {
  color: #ffd966;
  transform: translateX(2px);
}

.footer-contact-list p {
  margin: 0;
  color: rgba(243, 248, 255, 0.88);
  line-height: 1.55;
}

.footer-contact-list strong {
  color: #ffffff;
}

.site-footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(243, 248, 255, 0.82);
  font-size: 0.95rem;
}

.site-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
}

.site-footer-bottom-links a {
  color: rgba(243, 248, 255, 0.88);
  text-decoration: none;
}

.site-footer-bottom-links a:hover {
  color: #ffd966;
}

@media (max-width: 980px) {
  .site-footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer {
    --footer-padding: 1.2rem;
    padding: 1.2rem;
    border-radius: 0;
  }

  .container > .site-footer:last-child {
    margin-bottom: -1rem;
    padding-bottom: calc(1.2rem + 1rem);
  }

  .wrap > .site-footer:last-child {
    margin-bottom: -24px;
    padding-bottom: calc(1.2rem + 24px);
  }

  .site-footer-top {
    grid-template-columns: 1fr;
  }

  .footer-panel {
    padding: 1rem;
  }

  .footer-actions,
  .footer-badges,
  .site-footer-bottom,
  .site-footer-bottom-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cta-button, .order-link {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 60px !important;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
}

.cta-button {
  background: white;
  color: #1e3249;
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.2rem);
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.order-link {
  background: #132e48;
  color: white;
  padding: 0.8rem 1.2rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  border: 1px solid #284f77;
}

.cta-button:hover, .order-link:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 25px -5px rgba(0,0,0,0.3);
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.flex-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: space-evenly;
}

.stats-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
}

/* ===== АДАПТАЦИЯ (общая) ===== */
@media (max-width: 1024px) {
  .container {
    padding: 1.5rem;
  }
  .tariff-card.popular {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .photographers-subtitle {
    font-size: 21px !important;
  }
  .manual-section {
    margin: 1.8rem 0;
    padding: 1.25rem;
    border-radius: 20px;
  }
  .manual-grid {
    gap: 1rem;
  }
  .manual-item {
    border-radius: 16px;
    padding: 1.05rem;
  }
  .tariff-grid {
    gap: 0.8rem;
  }
  .tariff-grid .tariff-card {
    margin: 0.4rem;
  }
  .container {
    padding: 1rem;
  }
  .container > .header:first-child {
    margin-top: -1rem;
    padding-top: 0.85rem;
  }
  .wrap > .header:first-child {
    margin-top: -24px;
    padding-top: 0.85rem;
  }
  .container > .site-footer:last-child {
    margin-bottom: -1rem;
    padding-bottom: calc(var(--footer-padding, clamp(1.5rem, 4vw, 2.5rem)) + 1rem);
  }
  .header {
    flex-wrap: wrap;
    text-align: left;
    gap: 0.75rem;
  }
  .logo {
    margin-right: auto;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.9rem;
    background: #ffffff;
    border: 1px solid #d9e5f3;
    border-radius: 16px;
  }
  .nav-links.is-open {
    display: flex;
  }
  .dropdown {
    width: 100%;
    text-align: center;
  }
  .dropdown-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .dropdown-content {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 12px;
    border: 1px solid #e2eaf5;
    margin-top: 0.55rem;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .dropdown.active .dropdown-content {
    display: block;
  }
  .dropdown-content a {
    text-align: center;
  }
  .cta-block {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .cta-button {
    width: 100%;
    white-space: normal;
  }
  .vs-block {
    padding: 1.2rem;
  }
  .vs-block .flex-container {
    flex-direction: column;
  }
  .vs-block .flex-stats {
    flex-direction: column;
    gap: 1rem;
  }
  .stats-divider {
    display: none;
  }
  .law-articles {
    grid-template-columns: 1fr;
  }
  .law-item {
    padding: 1rem;
  }
  .tariff-card.popular {
    flex-direction: column !important;
    padding: 1.2rem !important;
  }
  .tariff-card.popular > div:first-child {
    width: 100%;
  }
  .tariff-card.popular > div:last-child {
    width: 100%;
  }
  .contacts-list {
    grid-template-columns: 1fr;
  }
  .contact-row {
    border-right: none !important;
  }
  .contact-row:nth-last-child(-n + 2) {
    border-bottom: 1px solid #edf2f8;
  }
  .contact-row:last-child {
    border-bottom: none;
  }
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0.8rem;
  }
  .title-block {
    min-height: calc(100vh - 88px);
    padding: 1.5rem 1rem;
    gap: 0.9rem;
  }
  .hero-scroll-indicator {
    width: 56px;
    height: 56px;
    bottom: 20px;
  }
  .hero-cta-grid {
    gap: 1rem;
    margin-top: 0.5rem;
  }
  .hero-cta-card {
    padding: 1.1rem;
    border-radius: 20px;
    text-align: center;
  }
  .hero-cta-card .cta-button {
    width: min(340px, 100%);
  }
  .hero-scroll-indicator::before {
    top: 20px;
    width: 14px;
    height: 14px;
  }
  .hero-scroll-indicator::after {
    top: 13px;
    height: 18px;
  }
  .manual-section {
    margin: 1.2rem 0;
    padding: 0.95rem;
    border-radius: 16px;
  }
  .title-block h2 {
    font-size: 1.5rem;
  }
  .cta-block h3 {
    font-size: 1.3rem;
  }
  .cta-block p {
    font-size: 0.95rem;
  }
  .manual-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .manual-item {
    padding: 0.85rem;
    border-radius: 14px;
  }
  .manual-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
  }
  .manual-item li {
    margin: 0.45rem 0;
    gap: 0.45rem;
  }
  .vs-block .highlight {
    font-size: 1.2rem;
  }
  .vs-block p {
    font-size: 0.95rem;
  }
  .legal-card {
    padding: 1.2rem;
  }
  .legal-card h2 {
    font-size: 1.3rem;
    padding-left: 1rem;
  }
  .law-item h3 {
    font-size: 1.2rem;
  }
  .fine-table {
    font-size: 0.8rem;
  }
  .tariff-name {
    font-size: 1.4rem;
  }
  .price {
    font-size: 2rem;
  }
  .price--on-request {
    font-size: 1.2rem;
  }
  .contact-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
  .contact-icon svg {
    width: 18px;
    height: 18px;
  }
  .footer {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .manual-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .law-articles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
  }
  body {
    font-size: 18px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .cta-button:hover, .order-link:hover {
    transform: none;
  }
  .manual-item:hover {
    transform: none;
  }
  .tariff-card:hover {
    transform: none;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links a:active {
    opacity: 0.7;
  }
}

/* ========================================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ БЛОГА (blog.css)
   ======================================================================== */

.page-header {
  text-align: center;
  margin: 1rem 0 2rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.page-header h1 {
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #001f3a 0%, #1e3a5f 50%, #2f6e9c 100%);
  -webkit-background-clip: text;
  color: #edb300;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: #3d5673;
  max-width: 700px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0 3rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 30px -15px #afc1d6;
  transition: all 0.3s ease;
  border: 1px solid #e2eaf5;
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: fadeInUp 0.6s ease-out;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -18px #1e3249;
}

.card-image {
  height: 220px;
  background: linear-gradient(145deg, #d4e0f0, #c0d0e8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-category {
  display: inline-block;
  background: #ffd966;
  color: #1e3249;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.8rem;
  border-radius: 60px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-date {
  font-size: 0.85rem;
  color: #7f8c9f;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #113353;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.card-excerpt {
  color: #2e4a6b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2f6e9c;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
  margin-top: auto;
}

.read-more:hover {
  gap: 0.8rem;
  color: #1a4b72;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 2rem 0 1rem;
  flex-wrap: wrap;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.8rem;
  background: white;
  border: 1px solid #cbd8ea;
  border-radius: 40px;
  color: #1e3249;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.page-link.active {
  background: #2f6e9c;
  border-color: #2f6e9c;
  color: white;
}

.page-link:hover:not(.active) {
  background: #eef4fc;
  border-color: #2f6e9c;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.modal-container {
  background: white;
  width: min(800px, 100%);
  max-height: 90vh;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 30px 50px rgba(0,0,0,0.5);
}

.modal-container .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid #e2eaf5;
  background: white;
}

.modal-container .modal-header h3 {
  margin: 0;
  color: #113353;
  font-size: 1.3rem;
}

.modal-container .modal-close {
  background: #f0f0f0;
  border: none;
  font-size: 24px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-container .modal-close:hover {
  background: #e0e0e0;
}

.modal-container .modal-body {
  padding: 1.8rem;
  overflow-y: auto;
  color: #1c2a44;
  line-height: 1.6;
}

/* ========================================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ПРИМЕРОВ (examples.css)
   ======================================================================== */

.carousel-section {
  background: #ffffff;
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin: 2rem 0;
  border: 1px solid #e2eaf5;
  box-shadow: 0 18px 30px -15px #afc1d6;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.carousel-section h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-left: 5px solid #2f6e9c;
  padding-left: 1.2rem;
  color: #113353;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin-bottom: 1rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8fafd;
  min-height: 320px;
  border-radius: 20px;
  padding: 1rem;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 450px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.carousel-slide img:hover {
  transform: scale(1.02);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 50, 73, 0.7);
  backdrop-filter: blur(4px);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: #1e3249;
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd8ea;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #2f6e9c;
  width: 24px;
  border-radius: 12px;
}

.modal-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.modal-viewer .modal-content {
  background: white;
  border-radius: 28px;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  min-width: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 30px 50px rgba(0,0,0,0.5);
}

.modal-viewer .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #f8fafd;
  border-bottom: 1px solid #e2eaf5;
}

.modal-viewer .modal-header h3 {
  font-size: 1.2rem;
  color: #1e3249;
}

.modal-viewer .modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #5a6e8a;
  transition: color 0.2s;
}

.modal-viewer .modal-close:hover {
  color: #1e3249;
}

.modal-viewer .modal-body {
  padding: 1.5rem;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  min-height: 400px;
}

.modal-viewer .modal-body img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
}

/* ========================================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ 404 (404.css)
   ======================================================================== */

.error-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.error-container {
  max-width: 600px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 48px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

.error-code {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.error-digit {
  font-size: 8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2f6e9c 0%, #ffd966 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bounceIn 0.6s ease-out;
  display: inline-block;
}

@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.error-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: #1e3249;
  margin-bottom: 1rem;
  font-weight: 700;
}

.error-message {
  color: #3d5673;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.error-home-link {
  background: #2f6e9c;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.error-home-link:hover {
  background: #1e4b6e;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.error-blog-link {
  background: transparent;
  color: #2f6e9c;
  padding: 0.8rem 1.8rem;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #2f6e9c;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.error-blog-link:hover {
  background: #2f6e9c;
  color: white;
  transform: translateY(-2px);
}

.error-help {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(47, 110, 156, 0.2);
}

.error-help p {
  font-size: 0.9rem;
  color: #7f8c9f;
  margin-bottom: 1rem;
}

.error-nav-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.error-nav-links a {
  color: #2f6e9c;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.error-nav-links a:hover {
  color: #ffd966;
  text-decoration: underline;
}

/* ========================================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ОФЕРТЫ (offer.css)
   ======================================================================== */

.policy-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #d0daea;
  animation: fadeInUp 0.6s ease-out;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: #1e3249;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid #d0daea;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.back-button:hover {
  transform: translateX(-5px);
  box-shadow: 0 8px 18px rgba(30, 50, 73, 0.15);
  background: #f8fafd;
  border-color: #2f6e9c;
}

.back-button svg {
  transition: transform 0.3s ease;
}

.back-button:hover svg {
  transform: translateX(-3px);
}

.policy-header h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  background: linear-gradient(135deg, #001f3a 0%, #1e3a5f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.policy-content {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  padding: clamp(1.8rem, 5vw, 3rem);
  margin: 1.5rem 0 2.5rem;
  border: 1px solid rgba(226, 234, 245, 0.8);
  box-shadow: 0 18px 30px -15px #afc1d6;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.policy-text {
  color: #1c2a44;
}

.policy-text h1,
.policy-text h2,
.policy-text h3,
.policy-text h4 {
  color: #113353;
  margin: 1.5rem 0 1rem;
}

.policy-text h2 {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  border-left: 4px solid #2f6e9c;
  padding-left: 1.2rem;
}

.policy-text h3 {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
}

.policy-text p {
  margin-bottom: 1.2rem;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  color: #2e4a6b;
}

.policy-text ul, 
.policy-text ol {
  margin: 1rem 0 1.5rem 1.8rem;
}

.policy-text li {
  margin: 0.5rem 0;
  color: #2e4a6b;
}

.policy-text a {
  color: #2f6e9c;
  text-decoration: none;
  border-bottom: 1px dashed #2f6e9c;
}

.policy-text a:hover {
  color: #1a4b72;
  border-bottom-style: solid;
}

.requisites {
  background: #eef3fc;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.8rem 0;
  border: 1px solid #c7d7ea;
}

.requisites p {
  margin-bottom: 0.5rem;
}

.requisites p:last-child {
  margin-bottom: 0;
}

.policy-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: white;
  color: #1e3249;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border: 1px solid #d0daea;
  transition: all 0.3s ease;
}

.nav-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px #1e3249;
  background: #f8fafd;
  border-color: #2f6e9c;
}

.nav-button.up-button {
  background: #1e3249;
  color: white;
  border: none;
}

.nav-button.up-button:hover {
  background: #132b40;
}

@media (max-width: 1024px) {
  .policy-header {
    gap: 1rem;
  }

  .policy-header h1 {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .back-button,
  .nav-button {
    padding: 0.7rem 1.35rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 768px) {
  .policy-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-header h1 {
    font-size: 1.2rem;
  }

  .back-button,
  .nav-button {
    padding: 0.62rem 1.1rem;
    font-size: 0.88rem;
    border-radius: 40px;
  }
}

@media (max-width: 480px) {
  .policy-header h1 {
    font-size: 1.05rem;
  }

  .back-button,
  .nav-button {
    padding: 0.55rem 0.95rem;
    font-size: 0.84rem;
    gap: 0.5rem;
  }

  .back-button svg,
  .nav-button svg {
    width: 16px;
    height: 16px;
  }
}

/* ========================================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ФОТОГРАФОВ (photographers.css)
   ======================================================================== */

.manual-item {
  padding: 1.5rem;
}

.manual-item ul {
  list-style: none;
}

.tariff-section {
  margin: 3rem 0;
}

.tariff-card {
  margin: 1.5rem;
}

.time-saving {
  font-size: 0.85rem;
  color: #2f6e9c;
  margin-top: 0.5rem;
}

.law-note {
  background: #f0f5ff;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border-left: 4px solid #2f6e9c;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
}

/* ========================================================================
   СТИЛИ ДЛЯ COOKIE-БАННЕРА (общие для всех страниц)
   ======================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(30, 50, 73, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text p {
  color: white;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-text a {
  color: #ffd966;
  text-decoration: none;
  border-bottom: 1px dashed #ffd966;
}

.cookie-text a:hover {
  border-bottom-style: solid;
}

.cookie-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-btn-accept {
  background: #ffd966;
  color: #1e3249;
}

.cookie-btn-accept:hover {
  background: #f0c44d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 217, 102, 0.3);
}

.cookie-btn-decline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 1rem;
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  .cookie-btn {
    flex: 1;
    padding: 0.5rem 1rem;
  }
}

/* ========================================================================
   АДАПТАЦИЯ ДЛЯ СЕНСОРНЫХ ЭКРАНОВ
   ======================================================================== */

@media (hover: none) and (pointer: coarse) {
  @media (min-width: 769px) {
    .dropdown-content {
      opacity: 0;
      visibility: hidden;
      transition: none;
    }

    .dropdown.active .dropdown-content {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
  }
}

/* ========================================================================
   ДОПОЛНИТЕЛЬНЫЕ КЛАССЫ (вынесены из inline-стилей)
   ======================================================================== */

/* === БЛОК CTA (index.html) === */
.cta-flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  width: 100%;
}

.cta-column {
  flex: 1;
  min-width: 250px;
}

.cta-column h3 {
  margin-bottom: 0.5rem;
}

.cta-column p {
  margin-bottom: 1rem;
}

.cta-button-yellow {
  background: #edb300;
  color: #1e3249;
  display: inline-block;
}

.cta-button-white {
  background: white;
  color: #1e3249;
  display: inline-block;
}

.vs-block-dark {
  background: #0f2a40;
}

.vs-block-action {
  display: block;
  width: fit-content;
  margin: 1.1rem auto 0;
}

.vs-block-action:hover {
  transform: translateY(-2px);
}

/* === БЛОК "Узнайте, кто использует ваши фото" (index.html) === */
.learn-more-link {
  background: #f0b345;
  color: #0a1e2f;
  font-weight: 700;
  border: none;
  margin-top: 1rem;
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 0.9rem;
  font-size: clamp(1rem, 3vw, 1.1rem);
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.learn-more-link:hover {
  transform: scale(1.02);
}

/* === ЗАКОН И ВАЖНО (law-note) === */
.law-note-blue {
  background: #f0f5ff;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border-left: 4px solid #2f6e9c;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
}

/* === ТАРИФНЫЕ КАРТОЧКИ (общие стили) === */
.tariff-card-popular {
  max-width: 1000px;
  flex: 0 1 1000px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
}

.tariff-grid-two-cards {
  gap: 1.25rem;
  align-items: stretch;
  justify-content: center;
}

.tariff-grid-two-cards .tariff-card-popular {
  flex: 1 1 460px;
  max-width: 570px;
  min-height: 100%;
  border-radius: 24px;
  background: #f6faff;
  border: 2px solid #2a6291;
  box-shadow: 0 12px 26px -18px rgba(19, 52, 85, 0.55);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
  position: relative;
  overflow: hidden;
}

.tariff-grid-two-cards .tariff-card-popular:hover {
  transform: translateY(-8px);
  border-color: #2a6291;
  box-shadow: 0 22px 42px -20px rgba(19, 52, 85, 0.72);
}

.tariff-grid-two-cards .tariff-left {
  flex: 0 0 250px;
  text-align: center;
}

.tariff-left {
  flex: 0 0 280px;
  text-align: center;
}

.tariff-price-block {
  margin: 1rem 0;
  background: #eef4fc;
  border-radius: 20px;
  padding: 0.8rem;
}

.tariff-grid-two-cards .tariff-price-block {
  border: 1px solid #cfddf1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  background: #eef4fc;
  border-radius: 20px;
  padding: 0.8rem;
}

.tariff-old-price {
  font-size: 1.5rem;
  color: #7f8c9f;
  text-decoration: line-through;
}

.tariff-price {
  font-size: clamp(2rem, 6vw, 3rem);
}

.tariff-right {
  flex: 1;
}

@media (max-width: 768px) {
  .tariff-left {
    flex: 0 0 0;
  }
}

.tariff-features {
  background: #d9ecfa;
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.tariff-features p {
  font-weight: 700;
  color: #003057;
  margin-bottom: 0.5rem;
}

.tariff-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.3rem 0.8rem;
}

.tariff-features-grid span {
  font-size: 0.9rem;
}

.tariff-button {
  background: #f0b345;
  color: #0a1e2f;
  border: none;
  font-size: 1.2rem;
  padding: 0.8rem;
  display: block;
  text-align: center;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tariff-button:hover {
  transform: scale(1.02);
}

.tariff-grid-two-cards .tariff-button {
  background: #f0b345;
  border: none;
  box-shadow: 0 12px 20px -14px rgba(32, 59, 91, 0.9);
}

.tariff-grid-two-cards .tariff-button:hover {
  transform: translateY(-2px) scale(1.01);
}

.tariff-grid-two-cards .tariff-features {
  background: #d9ecfa;
  border: none;
  border-radius: 16px;
  padding: 1rem;
}

.tariff-grid-two-cards .tariff-features-grid {
  gap: 0.3rem 0.8rem;
}

@media (max-width: 980px) {
  .tariff-grid-two-cards .tariff-card-popular {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .tariff-grid-two-cards .tariff-card-popular {
    padding: 1.2rem;
    gap: 1rem;
  }

  .tariff-grid-two-cards .tariff-left {
    flex: 1 1 auto;
    text-align: center;
  }

  .tariff-grid-two-cards .tariff-right {
    width: 100%;
  }
}

.tariff-note {
  text-align: center;
  margin-top: 1.5rem;
  color: #335577;
  background: #e2eaf5;
  padding: 0.8rem;
  border-radius: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
}

/* === БЛОК ОТЗЫВОВ (index.html и photographers.html) === */
.reviews-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9fafc;
  border-radius: 28px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.reviews-title {
  text-align: center;
  font-size: 2.2em;
  color: #1a1a1a;
  margin-bottom: 40px;
  font-weight: 600;
}

.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.review-card {
  flex: 1 1 280px;
  max-width: 330px;
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.review-quote {
  font-size: 42px;
  color: #e0e0e0;
  line-height: 0.8;
  margin-bottom: 10px;
  opacity: 0.5;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.review-star {
  color: #ffd700;
  font-size: 22px;
}

.review-text {
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 22px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
  padding-top: 18px;
}

.review-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.review-name {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1rem;
}

.review-role {
  color: #888;
  font-size: 0.85rem;
}

/* === ЧАСТЫЕ ВОПРОСЫ (index.html) === */
.faq-block {
  max-width: 900px;
  margin: 48px auto 0;
  padding: 40px 20px 56px;
}

.faq-title {
  text-align: center;
  font-size: 2.2em;
  color: #1a1a1a;
  margin-bottom: 32px;
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: #c5d4e3;
  box-shadow: 0 4px 20px rgba(17, 51, 83, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2a3a;
  cursor: pointer;
  list-style: none;
  line-height: 1.4;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #2f6e9c;
  border-bottom: 2px solid #2f6e9c;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -4px;
}

.faq-item[open] .faq-question::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-question:hover {
  color: #1e4f79;
}

.faq-answer {
  padding: 0 24px 20px;
  color: #445566;
  font-size: 1rem;
  line-height: 1.65;
}

.faq-answer p {
  margin: 0 0 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 0 0 12px;
  padding-left: 1.4em;
}

.faq-answer li {
  margin-bottom: 8px;
}

.faq-answer li:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: #2f6e9c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover {
  color: #1e4f79;
}

@media (max-width: 640px) {
  .faq-block {
    padding: 32px 16px 40px;
    margin-top: 32px;
  }

  .faq-title {
    font-size: 1.75em;
    margin-bottom: 24px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 0 18px 16px;
    font-size: 0.95rem;
  }
}

.mail-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  z-index: 10001;
  max-width: min(92vw, 420px);
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: #14324d;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: 0 14px 34px rgba(15, 42, 64, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mail-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.manual-item a {
  color: #1d3a5c;
  font-weight: 500;
  text-decoration: none;
}

.manual-item a:hover {
  color: #2a6291;
  text-decoration: underline;
}

/* === СТРАНИЦА ФОТОГРАФОВ === */
.photographers-title {
  color: #edb300;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.vs-block-photographers {
  background: linear-gradient(145deg, #0f2a40 0%, #1b3b5a 100%);
}

.photographers-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 217, 102, 0.18);
  color: #ffd966;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 217, 102, 0.35);
  margin-bottom: 0.8rem;
}

.photographers-title-white {
  color: #ffffff;
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
}

@media (min-width: 1024px) {
  .page-header h1 {
    font-size: 4rem;
  }

  .error-title {
    font-size: 2.3rem;
  }

  .policy-header h1,
  .policy-text h1 {
    font-size: 2.4rem;
  }

  .photographers-title {
    font-size: 5.4rem;
  }
}

.photographers-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.tariff-card-photographers {
  max-width: 1000px;
  flex: 0 1 1000px;
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  padding: 1.5rem;
}

.tariff-left-photographers {
  flex: 0 0 280px;
  text-align: center;
}

.tariff-name-photographers {
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 700;
  color: #113353;
}

.tariff-desc-photographers {
  color: #3d5673;
  margin-top: 0.25rem;
}

.tariff-price-block-photographers {
  margin: 1rem 0;
  background: #eef4fc;
  border-radius: 20px;
  padding: 0.8rem;
}

.tariff-old-price-photographers {
  font-size: 1.35rem;
  color: #7f8c9f;
  text-decoration: line-through;
}

.tariff-price-photographers {
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 800;
  color: #1e3249;
}

.tariff-right-photographers {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tariff-features-photographers {
  background: #d9ecfa;
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.tariff-features-title {
  font-weight: 800;
  color: #003057;
  margin-bottom: 0.5rem;
}

.tariff-features-grid-photographers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.35rem 0.8rem;
}

.tariff-button-photographers {
  background: #f0b345;
  color: #0a1e2f;
  border: none;
  font-size: 1.1rem;
  padding: 0.9rem;
  display: block;
  text-align: center;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 800;
}

.tariff-button-photographers:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .tariff-card-photographers {
    flex-direction: column;
    padding: 1.2rem;
  }
  .tariff-left-photographers {
    flex: 0 0 0;
  }
}

.photographers-subtitle {
  font-size: clamp(1.2rem, 2.3vw, 1.75rem) !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.5;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #001f3a 0%, #1e3a5f 50%, #2f6e9c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 1024px) {
  .photographers-subtitle {
    font-size: clamp(1.05rem, 3vw, 1.35rem) !important;
  }
}

.photographers-manual-grid {
  grid-template-columns: repeat(3, 1fr);
}

.highlight-text {
  color: #ffd966;
}

.highlight-text strong {
  color: #ffd966;
}

/* === СТРАНИЦА ПРИМЕРОВ (examples.html) === */
.examples-note {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: #4a6a8a;
}

/* === КНОПКА НАЗАД В ПОЛИТИКАХ === */
.back-button span {
  display: inline-block;
}

.stats-block {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(5px);
  border-radius: 20px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.stats-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-around;
  text-align: center;
}

.stats-number {
  color: #ffd966;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}

.stats-label {
  color: rgba(255,255,255,0.7);
  font-size: clamp(0.8rem, 2.2vw, 1rem);
}

.find-btn {
  background: #f0b345;
  color: #0a1e2f;
  font-weight: 700;
  border: none;
  padding: 0.9rem 1.8rem;
  font-size: clamp(1rem, 3vw, 1.1rem);
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1 1 auto;
  text-align: center;
}

.find-btn:hover {
  transform: scale(1.02);
}

.step-number {
  font-size: 3rem;
  color: #2f6e9c;
  margin-bottom: 0.5rem;
}

.manual-item-highlight {
  background-color: #f0b345;
}

.highlight-yellow {
  color: #ffd966;
}

.discover-block-photographers {
  flex: 2 1 300px;
}

.nav-link-active {
  font-weight: 700;
  color: #f0b345;
}

/* === ФИНАЛЬНАЯ МОБИЛЬНАЯ КОРРЕКЦИЯ manual-section/manual-item === */
@media (max-width: 768px) {
  .manual-section {
    margin: 1.8rem 0;
    padding: 1.25rem;
    border-radius: 20px;
  }

  .manual-grid {
    gap: 1rem;
  }

  .manual-item {
    padding: 1.05rem;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .manual-section {
    margin: 1.2rem 0;
    padding: 0.95rem;
    border-radius: 16px;
  }

  .manual-grid {
    gap: 0.7rem;
  }

  .manual-item {
    padding: 0.85rem;
    border-radius: 14px;
  }

  .manual-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
  }

  .manual-item li {
    margin: 0.45rem 0;
    gap: 0.45rem;
  }
}

/* === АДАПТАЦИЯ БЛОКА "Что важно сделать авторам / фотографам" === */
@media (max-width: 768px) {
  #how-it-works .photographers-manual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  #how-it-works .step-number {
    font-size: 2rem;
    margin-bottom: 0.35rem;
  }

  #how-it-works .manual-item-text {
    font-size: 0.92rem;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  #how-it-works .photographers-manual-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  #how-it-works .manual-item {
    padding: 0.8rem;
  }

  #how-it-works .step-number {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
  }

  #how-it-works .manual-item h4 {
    font-size: 1rem;
    line-height: 1.3;
  }

  #how-it-works .manual-item-text {
    font-size: 0.88rem;
    line-height: 1.35;
  }
}

/* === ДОПОЛНИТЕЛЬНЫЕ КЛАССЫ (финальные) === */


.discover-block-photographers {
  flex: 2 1 300px;
}

.nav-link-active {
  font-weight: 700;
  color: #f0b345;
}

/* ===  КЛАССЫ ДЛЯ КАРТИНОК И ВЫРАВНИВАНИЯ В СТАТЬЯХ БЛОГА === */

.article-image {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 8px;
}

/* Картинки в тексте статьи (из админки) — адаптивные на телефоне и планшете */
.policy-text img,
.policy-text .article-content-img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 1rem 0;
  border-radius: 8px;
  box-sizing: border-box;
}

.policy-text p > img:only-child,
.policy-text p > .article-content-img:only-child {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* Выравнивание текста (редактор Quill) */
.policy-text .ql-align-center,
.policy-text p.ql-align-center,
.policy-text h2.ql-align-center,
.policy-text h3.ql-align-center,
.policy-text blockquote.ql-align-center {
  text-align: center;
}

.policy-text .ql-align-right,
.policy-text p.ql-align-right,
.policy-text h2.ql-align-right,
.policy-text h3.ql-align-right,
.policy-text blockquote.ql-align-right {
  text-align: right;
}

.policy-text .ql-align-justify,
.policy-text p.ql-align-justify,
.policy-text h2.ql-align-justify,
.policy-text h3.ql-align-justify {
  text-align: justify;
}

/* Выравнивание картинок внутри абзаца */
.policy-text p.ql-align-center img,
.policy-text p.ql-align-center .article-content-img {
  margin-left: auto;
  margin-right: auto;
}

.policy-text p.ql-align-right img,
.policy-text p.ql-align-right .article-content-img {
  margin-left: auto;
  margin-right: 0;
}

.policy-text p.ql-align-left img,
.policy-text p:not([class*="ql-align"]) img {
  margin-left: 0;
  margin-right: auto;
}

@media (max-width: 768px) {
  .policy-text img,
  .policy-text .article-content-img,
  .article-image {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* === ПРОВЕРКИ СООТВЕТСТВИЯ ПРИ СКАНИРОВАНИИ САЙТА === */
.site-scan-section {
  margin-top: 2rem;
}

.site-scan-group {
  margin-bottom: 1.75rem;
}

.site-scan-group:last-of-type {
  margin-bottom: 0;
}

.site-scan-group-title {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: #113353;
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid #2f6e9c;
}

.site-scan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
}

.site-scan-item {
  background: #f8fafd;
  border: 1px solid #e3ebf5;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-scan-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -14px rgba(47, 110, 156, 0.35);
}

.site-scan-item-title {
  font-size: 0.98rem;
  font-weight: 650;
  color: #113353;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.site-scan-item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4a6280;
}

@media (max-width: 768px) {
  .site-scan-grid {
    grid-template-columns: 1fr;
  }
}

.prices-legal-section {
  margin-bottom: 1rem;
}

.prices-legal-content {
  margin: 0;
  max-width: none;
}

.prices-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 1.8rem;
  border-radius: 16px;
  border: 1px solid #c7d7ea;
  background: #fff;
}

.prices-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.prices-table th,
.prices-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #d7e3f2;
  line-height: 1.5;
}

.prices-table th {
  background: #eef3fc;
  color: #113353;
  font-weight: 650;
  font-size: 0.95rem;
}

.prices-table tbody tr:last-child td {
  border-bottom: none;
}

.prices-table-cost {
  white-space: nowrap;
  font-weight: 700;
  color: #113353;
  width: 9.5rem;
  text-align: right;
}

@media (max-width: 640px) {
  .prices-table th,
  .prices-table td {
    padding: 0.85rem 0.9rem;
    font-size: 0.92rem;
  }

  .prices-table-cost {
    width: auto;
  }
}

.vk-order-form {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem 1.25rem;
  border-radius: 20px;
  background: #eef3fc;
  border: 1px solid #c7d7ea;
}

.vk-order-form-title {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  color: #113353;
}

.vk-order-form-intro {
  margin: 0 0 1.25rem;
  color: #4a6280;
  line-height: 1.55;
  max-width: 42rem;
}

.vk-order-form-frame-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e3f2;
}

.vk-order-form-frame {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
  background: #fff;
}

@media (max-width: 768px) {
  .vk-order-form {
    padding: 1.35rem 1rem 1rem;
  }

  .vk-order-form-frame {
    min-height: 820px;
  }
}

/* ========================================================================
   Подача: тёплый фон, серифные заголовки, собранные карточки
   ======================================================================== */

body {
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1b2838;
  line-height: 1.65;
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(224, 168, 46, 0.16), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(27, 58, 92, 0.08), transparent 50%),
    #f3efe6;
}

body::before,
body::after {
  background: none;
  animation: none;
}

.logo-text {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

::selection {
  background: rgba(224, 168, 46, 0.35);
  color: #14273e;
}

h1,
h2,
h3,
.vs-block-lead,
.tariff-name,
.price,
.page-header h1 {
  font-family: Literata, Georgia, 'Times New Roman', serif;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.header::before {
  background: rgba(255, 252, 247, 0.92);
  border-bottom: 1px solid rgba(210, 196, 170, 0.7);
  box-shadow: 0 10px 30px rgba(36, 28, 16, 0.05);
}

.nav-links a,
.dropdown-btn {
  color: #1d3348;
  font-weight: 650;
}

.nav-links a::after,
.dropdown-btn::after {
  height: 2px;
  background: #d7a441;
}

.dropdown-content {
  border: 1px solid #efe6d6;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(36, 28, 16, 0.12);
}

.dropdown-content a:hover {
  background: #fbf6ec;
  color: #14273e;
}

#law,
#prices,
#faq,
#contacts,
#hero-next,
#site-scan {
  scroll-margin-top: 92px;
}

.title-block {
  min-height: clamp(540px, 74vh, 780px);
  justify-content: center;
  padding: clamp(4.5rem, 8vw, 6.5rem) 1.5rem clamp(5.5rem, 8vw, 7rem);
  color: #f6f1e7;
  background:
    radial-gradient(540px 240px at 50% 12%, rgba(240, 193, 90, 0.28), transparent 68%),
    radial-gradient(640px 320px at 88% 88%, rgba(70, 122, 168, 0.28), transparent 62%),
    linear-gradient(180deg, #12283d 0%, #18344e 58%, #102233 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 30px 50px -36px rgba(16, 34, 51, 0.8);
}

.title-block .photographers-title {
  font-family: Literata, Georgia, serif;
  font-weight: 650;
  font-size: clamp(2.6rem, 5.6vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #f2c56b;
  max-width: 980px;
}

.title-block h2,
.title-block .photographers-subtitle {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.1vw, 1.28rem) !important;
  line-height: 1.6;
  letter-spacing: 0;
  color: rgba(246, 241, 231, 0.88);
  background: none;
  -webkit-text-fill-color: rgba(246, 241, 231, 0.88);
  max-width: 760px;
}

.title-block .hero-scroll-indicator {
  background: transparent;
  border: 1px solid rgba(242, 197, 107, 0.55);
  box-shadow: none;
  width: 52px;
  height: 52px;
}

.title-block .hero-scroll-indicator::before {
  border-right-color: #f2c56b;
  border-bottom-color: #f2c56b;
  top: 16px;
  width: 12px;
  height: 12px;
}

.title-block .hero-scroll-indicator::after {
  background: linear-gradient(180deg, rgba(242, 197, 107, 0), #f2c56b);
  top: 12px;
  height: 14px;
}

.cta-button-yellow,
.tariff-button,
.tariff-button-photographers,
.learn-more-link {
  background: linear-gradient(180deg, #ffd978 0%, #e3aa2a 100%);
  color: #1a2740;
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 14px 24px -16px rgba(150, 100, 10, 0.95);
}

.cta-button:hover,
.order-link:hover,
.tariff-button:hover,
.tariff-grid-two-cards .tariff-button:hover,
.tariff-button-photographers:hover,
.learn-more-link:hover {
  transform: translateY(-3px);
}

.cta-button-yellow:hover,
.tariff-button:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 18px 28px -14px rgba(150, 100, 10, 0.85);
}

.vs-block,
.vs-block-dark,
.legal-card-photographers {
  border-radius: 28px;
  box-shadow: 0 24px 40px -28px rgba(16, 34, 51, 0.65);
}

.vs-block:hover,
.legal-card:hover,
.legal-card-photographers:hover {
  transform: translateY(-4px);
}

.vs-block-lead {
  color: #f2c56b;
  letter-spacing: -0.02em;
}

.manual-section,
.contacts-card,
.blog-card,
.faq-item,
.tariff-card {
  background: #fffdf9;
  border: 1px solid rgba(36, 28, 16, 0.06);
  box-shadow: 0 22px 40px -32px rgba(36, 28, 16, 0.45);
}

.manual-section h3,
.tariff-section h3,
.reviews-title,
.faq-title,
.page-header h1,
.legal-card:not(.legal-card-photographers) h2,
.site-scan-group-title {
  font-family: Literata, Georgia, serif;
  color: #14273e;
  background: none;
  -webkit-text-fill-color: #14273e;
  letter-spacing: -0.03em;
}

.manual-section h3,
.legal-card:not(.legal-card-photographers) h2 {
  border-left-color: #d7a441;
}

.site-scan-group-title {
  border-left-color: #d7a441;
}

.manual-grid-home .manual-item,
.site-scan-item,
.review-card,
.contacts-doc-card,
.law-item {
  background: #fff;
  border: 1px solid rgba(36, 28, 16, 0.06);
  box-shadow: 0 12px 24px -22px rgba(36, 28, 16, 0.4);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.legal-card-photographers .law-item {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.manual-grid-home .manual-item:hover,
.site-scan-item:hover,
.review-card:hover,
.contacts-doc-card:hover,
.blog-card:hover,
.faq-item:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 164, 65, 0.7);
  box-shadow: 0 18px 34px -22px rgba(36, 28, 16, 0.4);
}

.blog-card:hover {
  transform: translateY(-6px);
}

.card-image img {
  transition: transform 0.5s ease;
}

.blog-card:hover .card-image img {
  transform: scale(1.04);
}

.tariff-grid-two-cards .tariff-card-popular {
  background: #fffdf9;
  border: 1px solid rgba(36, 28, 16, 0.08);
  box-shadow: 0 24px 44px -30px rgba(36, 28, 16, 0.45);
  overflow: hidden;
}

.tariff-grid-two-cards .tariff-card-popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e3aa2a, transparent);
}

.tariff-grid-two-cards .tariff-card-popular:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 164, 65, 0.75);
}

.price,
.tariff-name {
  letter-spacing: -0.03em;
  color: #14273e;
}

.reviews-block,
.faq-block {
  background: transparent;
  box-shadow: none;
  border: none;
}

.review-card {
  background: #fffdf9;
}

.review-avatar {
  background: linear-gradient(145deg, #17324c, #e3aa2a);
}

.review-quote {
  font-family: Literata, Georgia, serif;
  color: #d7a441;
  opacity: 1;
}

.faq-item {
  border-radius: 18px;
}

.faq-item[open] {
  border-color: rgba(215, 164, 65, 0.75);
  box-shadow: 0 16px 30px -24px rgba(36, 28, 16, 0.45);
}

.site-footer::before {
  background:
    radial-gradient(480px 160px at 12% 0%, rgba(227, 170, 42, 0.2), transparent 70%),
    linear-gradient(180deg, #12283d 0%, #0e2233 100%);
  box-shadow: inset 0 1px 0 rgba(242, 197, 107, 0.35);
}

@media (max-width: 768px) {
  .title-block {
    min-height: 0;
    padding: 2.6rem 1rem 4.8rem;
    border-radius: 0 0 24px 24px;
  }

  .title-block .photographers-title {
    font-size: clamp(2.05rem, 9vw, 2.7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header,
  .title-block,
  .manual-section,
  .page-header,
  .blog-card,
  .cta-block,
  .hero-scroll-indicator {
    animation: none;
  }
}

/* ========================================================================
   Общий вид сайта — как на главной. Тексты страниц не меняются.
   ======================================================================== */

body {
  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;
  color: #1c2a44;
}

h1,
h2,
h3,
.vs-block-lead,
.tariff-name,
.price,
.page-header h1,
.reviews-title,
.faq-title {
  font-family: Manrope, Inter, sans-serif;
}

.header {
  position: relative;
  top: auto;
}

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

.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;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #14273e;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  animation: homeRise 0.7s ease both;
}

.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: center;
  margin: 0 auto;
  color: #12263c;
  background: none;
  -webkit-text-fill-color: #12263c;
}

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

.title-block h2,
.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: center;
  margin: 0 auto;
  max-width: 40rem;
  color: #3d5270;
  background: none;
  -webkit-text-fill-color: #3d5270;
}

.hero-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 640px);
  max-width: 100%;
  margin: 1.35rem auto 0;
  gap: 0.6rem;
  justify-content: stretch;
  align-items: stretch;
}

.hero-cta-grid:has(> .hero-cta-card:only-child) {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 315px);
  justify-content: center;
}

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

.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;
}

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

.hero-cta-card:last-child:not(:first-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);
}

.hero-cta-card:last-child:not(:first-child) .cta-button:hover {
  border-color: #e3aa2a;
  background: #fffaf0;
}

.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;
}

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

.page-header {
  text-align: left;
  margin: 0.2rem 0 1.6rem;
  animation: homeRise 0.7s ease both;
}

.page-header h1 {
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #12263c;
  background: none;
  -webkit-text-fill-color: #12263c;
}

.page-header h1::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 0.75rem;
  border-radius: 99px;
  background: linear-gradient(90deg, #e3aa2a, #2f6e9c, #e3aa2a);
  background-size: 200% 100%;
  animation: homeBar 3.2s ease infinite;
}

.page-header p {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  color: #3d5270;
}

.policy-header h1 {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #12263c;
  background: none;
  -webkit-text-fill-color: #12263c;
}

.policy-content {
  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);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.back-button {
  border-radius: 999px;
  border: 1px solid rgba(20, 39, 62, 0.1);
  box-shadow: 0 10px 24px -18px rgba(20, 39, 62, 0.45);
}

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

.vs-block p,
.vs-block-dark p {
  color: #2c415c;
}

.vs-block-lead {
  color: #12263c;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.vs-block .highlight-yellow,
.legal-card-photographers .highlight-yellow {
  color: #8d5e00;
}

.vs-block:hover,
.legal-card-photographers:hover {
  transform: translateY(-6px);
}

.manual-section,
.contacts-card,
.blog-card,
.faq-item,
.tariff-card,
.faq-block,
.reviews-block {
  background: #fff;
  border: 1px solid rgba(20, 39, 62, 0.06);
  box-shadow: 0 22px 40px -32px rgba(18, 40, 70, 0.28);
}

.reviews-block,
.faq-block {
  background: transparent;
  border: none;
  box-shadow: none;
}

.manual-section h3,
.tariff-section h3,
.reviews-title,
.faq-title,
.legal-card:not(.legal-card-photographers) h2,
.site-scan-group-title {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #12263c;
  background: none;
  -webkit-text-fill-color: #12263c;
}

.manual-section h3,
.legal-card:not(.legal-card-photographers) h2,
.site-scan-group-title {
  border-left-color: #e3aa2a;
}

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

.manual-grid-home .manual-item,
.site-scan-item,
.review-card,
.contacts-doc-card,
.blog-card {
  background: #fff;
  border: 1px solid rgba(20, 39, 62, 0.06);
  border-radius: 22px;
  box-shadow: 0 16px 30px -26px rgba(18, 40, 70, 0.45);
}

.manual-grid-home .manual-item-summary h4,
.manual-grid-home .manual-item-summary p {
  color: #2c415c;
  -webkit-text-fill-color: #2c415c;
}

.manual-grid-home .manual-item-summary h4 {
  color: #12263c;
  -webkit-text-fill-color: #12263c;
}

.manual-grid-home .manual-item-summary a {
  color: #2f6e9c;
  -webkit-text-fill-color: #2f6e9c;
}

.manual-grid-home .manual-item {
  counter-increment: step;
  position: relative;
  overflow: hidden;
}

.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;
}

.manual-grid-home.manual-grid-labeled .manual-item::after {
  content: none;
}

.manual-grid-home .manual-item::before,
.site-scan-item::after {
  content: '';
  position: absolute;
  background: linear-gradient(180deg, #e3aa2a, #2f6e9c);
  transition: transform 0.35s ease;
}

.manual-grid-home .manual-item::before {
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: scaleY(0.35);
  transform-origin: top;
}

.site-scan-item {
  position: relative;
  overflow: hidden;
}

.site-scan-item::after {
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  height: 3px;
  width: auto;
  background: linear-gradient(90deg, #2f6e9c, #e3aa2a);
  transform: scaleX(0);
  transform-origin: left;
}

.manual-grid-home .manual-item:hover::before,
.site-scan-item:hover::after {
  transform: scaleY(1);
}

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

.manual-grid-home .manual-item:hover,
.site-scan-item:hover,
.review-card:hover,
.contacts-doc-card:hover,
.blog-card:hover,
.faq-item:hover,
.tariff-card:hover {
  transform: translateY(-8px);
  border-color: rgba(227, 170, 42, 0.45);
  box-shadow: 0 22px 40px -24px rgba(18, 40, 70, 0.35);
}

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

.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;
}

.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;
}

.legal-card-photographers .law-articles {
  align-items: stretch;
}

.legal-card-photographers .law-item {
  position: relative;
  height: 100%;
  background: #f6f8fb;
  border: 1px solid rgba(20, 39, 62, 0.08);
  border-radius: 16px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #1c2a44;
}

.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;
}

.legal-card-photographers .law-item:hover::before {
  transform: scaleY(1);
}

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

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

.legal-card-photographers .fine-table,
.legal-card-photographers .fine-table td {
  color: #2c415c;
}

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

.tariff-grid-two-cards .tariff-card-popular {
  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);
}

.tariff-grid-two-cards .tariff-card-popular::before {
  background: linear-gradient(90deg, transparent, #e3aa2a, transparent);
}

.tariff-price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.75rem;
}

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

.price,
.tariff-name {
  font-family: Manrope, Inter, sans-serif;
  color: #12263c;
  letter-spacing: -0.04em;
}

.cta-button-yellow,
.tariff-button,
.tariff-button-photographers,
.learn-more-link,
.error-home-link {
  background: #edb300;
  color: #1a2740;
  border: none;
  box-shadow: 0 14px 24px -16px rgba(150, 100, 10, 0.95);
}

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

.faq-item[open] {
  border-color: rgba(227, 170, 42, 0.7);
}

.error-page {
  min-height: auto;
  padding-top: 1rem;
}

.error-container {
  background: #fff;
  border: 1px solid rgba(20, 39, 62, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 50px -32px rgba(18, 40, 70, 0.35);
  backdrop-filter: none;
}

.error-title,
.error-digit {
  font-family: Manrope, Inter, sans-serif;
}

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

.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);
}

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

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

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

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

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

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

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

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

@media (max-width: 768px) {
  .title-block {
    min-height: calc(100dvh - 6.5rem);
    padding: 0.4rem 0 3.2rem;
    border-radius: 0;
  }

  .title-block .photographers-title {
    font-size: clamp(2.05rem, 9vw, 2.7rem);
  }
}

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

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

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

@media (prefers-reduced-motion: reduce) {
  .title-block,
  .page-header,
  .title-block .photographers-title::after,
  .page-header h1::after,
  .legal-card-photographers h2::after,
  .hero-scroll-indicator,
  .home-reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Шаги на странице агентств — как карточки на главной, чуть компактнее */
#how-it-works {
  padding: 1.15rem 1.2rem 1.05rem;
  margin: 1.15rem 0;
  border-radius: 22px;
  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);
}

#how-it-works h3 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  line-height: 1.25;
}

#how-it-works .photographers-manual-grid {
  gap: 0.7rem;
  margin-bottom: 0.75rem;
  align-items: stretch;
}

#how-it-works .manual-item {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(20, 39, 62, 0.06);
  border-radius: 18px;
  box-shadow: 0 16px 30px -26px rgba(18, 40, 70, 0.55);
  padding: 0.9rem 0.95rem 0.8rem 1.05rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

#how-it-works .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;
}

#how-it-works .manual-item:hover::before,
#how-it-works .manual-item.home-reveal.is-in:hover::before {
  transform: scaleY(1);
}

#how-it-works .manual-item:hover,
#how-it-works .manual-item.home-reveal.is-in:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 170, 42, 0.45);
  box-shadow: 0 22px 40px -24px rgba(18, 40, 70, 0.35);
}

#how-it-works .manual-item-highlight {
  background: #fff;
}

#how-it-works .step-number {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #e3aa2a;
}

#how-it-works .step-number::before {
  content: '0';
}

#how-it-works .manual-item h4 {
  margin: 0 1.8rem 0.35rem 0;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
  color: #12263c;
}

#how-it-works .manual-item-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #2c415c;
}

#how-it-works .law-note-blue {
  background: #fff8eb;
  border: 1px solid rgba(227, 170, 42, 0.4);
  border-radius: 14px;
  color: #2c415c;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

#how-it-works .law-note-blue strong {
  color: #8d5e00;
}

@media (max-width: 768px) {
  #how-it-works .photographers-manual-grid {
    gap: 0.6rem;
  }

  #how-it-works .step-number {
    font-size: 0.74rem;
    margin-bottom: 0;
  }

  #how-it-works .manual-item {
    padding: 0.85rem 0.85rem 0.75rem 1rem;
  }

  #how-it-works .manual-item h4 {
    font-size: 0.98rem;
  }

  #how-it-works .manual-item-text {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #how-it-works .manual-item,
  #how-it-works .manual-item::before {
    transition: none;
  }
}

/* Риски на странице агентств — как блок на главной */
body:not(.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;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body:not(.page-home) .legal-card-photographers:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 44px -28px rgba(18, 40, 70, 0.4);
}

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

body:not(.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;
}

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

body:not(.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;
}

body:not(.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;
}

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

body:not(.page-home) .legal-card-photographers .law-item:hover,
body:not(.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);
}

body:not(.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;
}

body:not(.page-home) .legal-card-photographers .law-item p {
  margin: 0;
  color: #2c415c;
  line-height: 1.5;
}

body:not(.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;
}

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

body:not(.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;
}

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

body:not(.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;
}

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

@media (prefers-reduced-motion: reduce) {
  body:not(.page-home) .legal-card-photographers,
  body:not(.page-home) .legal-card-photographers h2::after,
  body:not(.page-home) .legal-card-photographers .law-item,
  body:not(.page-home) .legal-card-photographers .law-item::before,
  body:not(.page-home) .legal-card-photographers .fine-table td {
    animation: none !important;
    transition: none;
  }
}

/* Предложения на странице агентств — как на главной */
body:not(.page-home) .tariff-section {
  align-items: stretch;
}

body:not(.page-home) .tariff-section .tariff-card-popular {
  flex: 1 1 460px;
  max-width: 570px;
  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;
}

body:not(.page-home) .tariff-section .tariff-card-popular:first-child,
body:not(.page-home) .tariff-section .tariff-card-popular:first-child.home-reveal,
body:not(.page-home) .tariff-section .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;
}

body:not(.page-home) .tariff-section .tariff-left {
  flex: none;
  text-align: left;
}

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

body:not(.page-home) .tariff-section .price,
body:not(.page-home) .tariff-section .price--on-request {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1;
}

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

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

body:not(.page-home) .tariff-section .tariff-price-block .price {
  line-height: 1;
  white-space: nowrap;
}

body:not(.page-home) .tariff-section .tariff-features {
  background: #f4f7fb;
}

body:not(.page-home) .tariff-section .tariff-features-grid {
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

body:not(.page-home) .tariff-section .tariff-card-popular:hover,
body:not(.page-home) .tariff-section .tariff-card.home-reveal.is-in:hover {
  transform: translateY(-8px);
}

body:not(.page-home) .tariff-section .tariff-button {
  border-radius: 999px;
}

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

@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 (prefers-reduced-motion: reduce) {
  body:not(.page-home) .tariff-section .tariff-card-popular:first-child,
  body:not(.page-home) .tariff-section .tariff-card-popular:first-child.home-reveal.is-in {
    animation: none !important;
  }
}
