/* Служебные страницы этапа 5. Утверждённые страницы не подключают этот файл. */
.info-page { background: var(--color-card); }
.info-heading { padding-block: var(--space-4) var(--space-5); background: rgba(37, 135, 58, 0.06); }
.info-heading h1 { max-width: var(--text-measure); font-size: var(--font-page-h1); line-height: 1.1; }
.info-breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; color: var(--color-text-secondary); font-size: 13px; }
.info-breadcrumbs a { text-decoration: underline; }
.info-block { padding-block: 40px; }
.info-columns { display: grid;  }
.info-band { background: var(--color-background); }
.info-copy { min-width: 0; }
.info-copy p + p { margin-top: 16px; }
.info-copy h3 { margin-top: var(--space-4); font-size: 23px; }
.info-copy ul { padding-left: 20px; margin-block: 20px; }
.info-copy li + li { margin-top: 10px; }
.info-copy a:not(.text-link):not(.button) { color: var(--color-dark-green); text-decoration: underline; }
.info-copy .text-link { margin-top: 16px; }
.rules-overview { padding-block: 32px; border-bottom: 1px solid var(--color-border); }
.rules-overview dl { display: grid;   margin: 0; }
.rules-overview dt { color: var(--color-text-secondary); font-size: 14px; }
.rules-overview dd { margin: 8px 0 0; color: var(--color-dark-green); font-size: 26px; font-weight: 600; line-height: 1.2; }
.about-info-hero { display: grid;  padding-block: var(--space-4) var(--space-5); }
.about-info-hero h1 { font-size: var(--font-page-h1); line-height: 1.1; }
.about-info-hero p { margin-top: 24px; color: var(--color-text-secondary); }
.about-info-hero picture { display: block; }
.about-info-hero img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-image); }
.info-themes { display: grid;  }
.info-themes .icon { width: 30px; height: 30px; margin-bottom: 16px; color: var(--color-primary); }
.info-themes h3 { font-size: 23px; }
.info-themes p { margin-top: 16px; color: var(--color-text-secondary); }
.info-city-links { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.info-photo { margin-top: 40px; }
.info-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-image); }
.contacts-layout { display: grid; gap: 32px; }
.contacts-number { display: inline-flex; min-height: 44px; align-items: center; margin-block: 16px; font-size: clamp(23px, 4vw, 38px); font-weight: 600; color: var(--color-dark-green); }
.contacts-actions { display: grid; }
.contacts-actions a { display: flex; align-items: center; gap: 16px; min-height: 76px; padding-block: 16px; border-bottom: 1px solid var(--color-border); font-weight: 600; }
.contacts-actions a:first-child { border-top: 1px solid var(--color-border); }
.contacts-actions a > .icon:first-child { width: 28px; height: 28px; }
.contacts-actions a > .icon:last-child { margin-left: auto; }
.contacts-actions a:hover { color: var(--color-dark-green); }
.info-category-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-block: 24px; border-bottom: 1px solid var(--color-border); }
.info-category-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--color-dark-green); }
.info-category-nav a:hover { text-decoration: underline; }
.page-faq .info-copy .faq-answer a { text-decoration: underline; }
@media (min-width: 48rem) {
  .info-heading { padding-block: 48px 64px; }
  .info-heading h1, .about-info-hero h1 { font-size: var(--font-page-h1); }
  .info-block { padding-block: 64px; }

  .rules-overview { padding-block: 40px; }

  .about-info-hero {  align-items: center;  padding-block: 48px; }
  .about-info-hero img { aspect-ratio: 1; }

  .info-photo img { aspect-ratio: 3 / 1; }
  .contacts-layout { grid-template-columns: 1.2fr 1fr; align-items: start; gap: 64px; }
}


/* Небольшие акценты информационных страниц. */
.page-booking-rules [aria-labelledby="cancellation-title"] h2,
.page-booking-rules [aria-labelledby="deposit-title"] h2 {
  padding-left: 20px;
  border-left: 3px solid var(--color-primary);
}
.page-booking-rules [aria-labelledby="deposit-title"] { background: rgba(37, 135, 58, 0.06); }

.info-themes .icon { width: 40px; height: 40px; margin-bottom: var(--space-3); }
.info-themes p { margin-top: var(--space-2); }
.page-about [aria-labelledby="cities-title"] { padding-block: 32px; }
.page-about .final-cta { background: rgba(37, 135, 58, 0.06); color: var(--color-text); }
.page-about .final-cta .button:focus-visible { outline-color: var(--color-primary); }
.contacts-actions a { transition: color 180ms ease; }
.contacts-actions a > .icon:last-child { transition: transform 180ms ease; }
.contacts-actions a:hover { color: var(--color-primary); }
.contacts-actions a:hover > .icon:last-child { transform: translateX(4px); }
.page-contacts [aria-labelledby="help-title"] { padding-block: 32px; }
.info-category-nav a { border-bottom: 1px solid transparent; color: var(--color-text-secondary); transition: color 180ms ease, border-color 180ms ease; }
.info-category-nav a:hover,
.info-category-nav a[aria-current="location"] { color: var(--color-primary); border-bottom-color: var(--color-primary); text-decoration: none; }
html:has(.page-faq) { scroll-behavior: smooth; }
@media (max-width: 767px) {
  .page-booking-rules .info-block { padding-block: var(--space-4); }

}

@media (prefers-reduced-motion: reduce) {
  html:has(.page-faq) { scroll-behavior: auto; }
  .contacts-actions a, .contacts-actions a > .icon:last-child { transition: none; }
}
.page-booking-rules [aria-labelledby="cancellation-title"] h2,
.page-booking-rules [aria-labelledby="deposit-title"] h2 { align-self: start; }

.legal-draft { padding-block: 24px; color: var(--color-text-secondary); font-size: 14px; }

/* About page: preserve the shared information-page styles elsewhere. */
.page-about .about-info-hero { padding-block: var(--space-4) var(--space-6);  }
.page-about .about-info-hero .eyebrow { margin: 0 0 12px; color: var(--color-dark-green); }
.page-about .about-info-hero h1 { margin: 0; }
.page-about .about-info-hero p:not(.eyebrow) { margin-top: var(--space-3); max-width: 65ch; line-height: 1.65; }
.page-about .about-info-hero img { aspect-ratio: 4 / 3; height: auto; max-height: 380px; border-radius: var(--radius-info); }
.page-about .about-features { background: var(--color-background); }
.page-about .about-cities .section-heading p { margin-top: 16px; color: var(--color-text-secondary); max-width: 60ch; }
.page-about .about-city-grid { display: grid;  }
.page-about .about-city-card { min-height: 260px; border-radius: var(--radius-info); }
.page-about .about-owner-cta { display: grid;  padding: 28px 24px; border-radius: 18px; background: var(--color-dark-green); color: #fff; }
.page-about .about-owner-cta .eyebrow { color: #fff; margin-bottom: 12px; }
.page-about .about-owner-cta h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; max-width: 20ch; }
.page-about .about-owner-cta h2 + p { margin-top: var(--space-3); max-width: 62ch; line-height: 1.6; }
.page-about .about-owner-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.page-about .about-owner-actions .button { min-height: 48px; max-width: 100%; padding: 12px 18px; background: #fff; color: var(--color-dark-green); border-color: #fff; text-align: center; }
.page-about .about-owner-actions .button:hover { background: var(--color-background); }
.page-about .about-owner-contact { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; }
.page-about .about-owner-contact:hover { text-decoration: underline; }
@media (min-width: 48rem) {
  .page-about .about-info-hero {  padding-block: var(--space-6) var(--space-8); }
  .page-about .about-info-hero img { height: 380px; aspect-ratio: auto; }

  .page-about .about-city-card { min-height: 280px; }
  .page-about .about-owner-cta { padding: 40px; }
}
@media (min-width: 64rem) {
  .page-about .about-owner-cta {  align-items: center;  padding: 48px; }
  .page-about .about-owner-actions { align-items: center; }
}

.page-about .about-features .section-heading p { margin-top: 16px; color: var(--color-text-secondary); }
.page-about .about-benefits { display: grid;  }
.page-about .about-benefit { display: grid; grid-template-rows: auto auto 1fr; align-content: start; padding: var(--card-padding); border: 1px solid var(--color-border); border-radius: var(--radius-info); background: var(--color-card); }
.page-about .about-benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: var(--space-3); border-radius: var(--radius-info); background: rgba(37, 135, 58, .07); color: var(--color-primary); }
.page-about .about-benefit-icon .icon { width: 26px; height: 26px; }
.page-about .about-benefit h3 { font-size: var(--font-card-title); line-height: 1.3; max-width: 27ch; }
.page-about .about-benefit p { margin-top: var(--space-2); max-width: 48ch; line-height: 1.6; color: var(--color-text-secondary); }
@media (min-width: 48rem) {

  .page-about .about-benefit { padding: var(--card-padding); }
  .page-about .about-benefit h3 { min-height: 2.6em; }
}
@media (min-width: 48rem) {
  .page-about .about-benefits { grid-auto-rows: 1fr; }
}

/* Editorial rhythm: headings belong to the following paragraph. */
.info-copy h3 + p { margin-top: var(--space-2); }
.info-copy p, .info-copy li { text-wrap: pretty; }
.info-copy a { overflow-wrap: anywhere; }
.info-page .info-block + .final-section { margin-top: 32px; }
.page-about .about-cities + .final-section { margin-top: 64px; }
/* Long legal documents need a continuous reading rhythm, not landing-page gaps. */
.legal-page .info-block { padding-block: 24px; }
@media (min-width: 48rem) {
  .legal-page .info-block { padding-block: 32px; }
}

@media (max-width: 767px) {
  .legal-page .info-heading h1 { font-size: clamp(26px, 7.2vw, 36px); line-height: 1.15; }
  .legal-page .info-columns h2 { font-size: 28px; line-height: 1.2; }
}
