/* ===== Цвета бренда Family Park Support ===== */
:root {
  --green: #13D18C;       /* основной зелёный */
  --white: #FFFFFF;       /* белый */
  --rich-green: #02140D;  /* тёмно-зелёный, почти чёрный */
}

/* ===== Шрифты ===== */
@font-face {
  font-family: 'Syncopate';
  src: url('../fonts/Syncopate-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Syncopate';
  src: url('../fonts/Syncopate-Bold.ttf') format('truetype');
  font-weight: 700;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--rich-green);
}
/* ===== Header ===== */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-list a {
  color: var(--rich-green);
  text-decoration: none;
  font-size: 15px;
}

.nav-list a:hover {
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mening-uyim-link {
  color: var(--rich-green);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 14px;
  border: 1px solid var(--rich-green);
  border-radius: 20px;
}

.mening-uyim-link:hover {
  border-color: var(--green);
  color: var(--green);
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--rich-green);
}
.mobile-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}


/* ===== Buttons (shared) ===== */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--green);
  color: var(--rich-green);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: transparent;
  color: var(--rich-green);
  border-color: var(--rich-green);
}

.btn-secondary:hover {
  background-color: var(--rich-green);
  color: var(--white);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--rich-green);
  text-decoration: underline;
}
/* ===== Sections base ===== */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

section h2 {
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--rich-green);
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero h1 {
  font-family: 'Syncopate', sans-serif;
  text-transform: uppercase;
  font-size: 40px;
  line-height: 1.3;
  color: var(--rich-green);
  margin-bottom: 20px;
}

.hero-subheadline {
  font-size: 18px;
  color: var(--rich-green);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Card grids (what-we-do, how-we-work) ===== */
.what-we-do-cards,
.how-we-work-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background-color: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--rich-green);
}

.card p {
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}

/* ===== Simple content sections (find-house, mening-uyim, appeal, mission) ===== */
.find-house,
.mening-uyim-block,
.appeal-block,
.mission-block {
  text-align: center;
}

.find-house p,
.mening-uyim-block p,
.appeal-block p,
.mission-block p {
  max-width: 600px;
  margin: 0 auto 24px;
  color: #444;
  line-height: 1.6;
}

/* ===== Club teaser ===== */
.club-teaser {
  text-align: center;
  background-color: var(--rich-green);
  color: var(--white);
  max-width: 100%;
  border-radius: 0;
}

.club-teaser p {
  max-width: 600px;
  margin: 0 auto 16px;
}

.club-teaser .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}

.club-teaser .btn-secondary:hover {
  background-color: var(--white);
  color: var(--rich-green);
}

/* ===== Contacts block ===== */
.contacts-block {
  text-align: center;
  padding-bottom: 80px;
}
/* ===== Find House (Task 003) ===== */
.house-finder {
  text-align: center;
}

.house-finder > p {
  max-width: 600px;
  margin: 0 auto 32px;
  color: #444;
  line-height: 1.6;
}

.house-finder-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--rich-green);
}

.form-field select {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: var(--white);
  color: var(--rich-green);
}

.form-field select:disabled {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

.house-finder-form button.btn {
  width: 100%;
  font-family: inherit;
}

.house-finder-form button.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.house-finder-empty {
  max-width: 480px;
  margin: 0 auto;
}

.house-finder-empty p {
  margin-bottom: 16px;
  color: #444;
  line-height: 1.6;
}

/* ===== House Page (Task 004) ===== */
.house-hero {
  text-align: center;
}

.house-hero-status {
  color: var(--green);
  font-weight: 600;
  margin-bottom: 24px;
}

.house-hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.house-hero-media {
  max-width: 720px;
  margin: 0 auto;
}

.house-hero-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.house-hero-photo-placeholder {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  background-color: #f0f0f0;
  border: 1px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.house-about {
  text-align: center;
}

.house-about-list {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.house-about-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.house-about-item dt {
  color: #666;
  font-size: 14px;
}

.house-about-item dd {
  font-weight: 600;
  color: var(--rich-green);
  text-align: right;
}

.house-services {
  text-align: center;
}

.house-services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
  margin-bottom: 32px;
}

.house-service-group {
  display: inline-block;
  font-size: 12px;
  color: var(--green);
  margin-bottom: 8px;
}

.house-service-frequency {
  font-size: 13px;
  color: #777;
}

.house-management {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.house-management h3 {
  margin-bottom: 12px;
  text-align: center;
}

.house-management ul {
  list-style: disc;
  padding-left: 20px;
  color: #444;
  line-height: 1.6;
}

.house-notices,
.house-documents {
  text-align: center;
}

.house-notices-list,
.house-documents-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.house-notice-date {
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}

/* ===== Appeal Page (Task 005) ===== */
.appeal-page {
  text-align: center;
}

.appeal-subheadline {
  max-width: 600px;
  margin: 0 auto 32px;
  color: #444;
  line-height: 1.6;
}

.appeal-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: var(--white);
  color: var(--rich-green);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input[type="file"] {
  font-size: 14px;
}

.form-field-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: #444;
  line-height: 1.5;
}

.form-field-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.field-hint {
  font-size: 13px;
  color: #777;
}

.field-error {
  font-size: 13px;
  color: #c0392b;
}

.form-errors {
  max-width: 480px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  border: 1px solid #c0392b;
  border-radius: 8px;
  background-color: #fdecea;
  text-align: left;
}

.form-errors p {
  font-weight: 600;
  color: #c0392b;
  margin-bottom: 8px;
}

.form-errors ul {
  list-style: disc;
  padding-left: 20px;
  color: #c0392b;
}

.appeal-form button.btn {
  width: 100%;
  font-family: inherit;
}

.appeal-success {
  max-width: 480px;
  margin: 0 auto;
}

.appeal-success p {
  margin-bottom: 24px;
  color: #444;
  line-height: 1.6;
}

.appeal-success-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Mening uyim Page (Task 006) ===== */
.mening-uyim-hero {
  text-align: center;
}

.mening-uyim-lead {
  max-width: 600px;
  margin: 0 auto 24px;
  color: #444;
  line-height: 1.6;
}

.mening-uyim-badge {
  display: inline-block;
  max-width: 480px;
  margin: 0 auto 32px;
  padding: 12px 20px;
  border: 1px solid var(--green);
  border-radius: 20px;
  color: var(--rich-green);
  font-size: 14px;
  font-weight: 600;
}

.mening-uyim-store-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mening-uyim-features,
.mening-uyim-boundary {
  text-align: center;
}

.mening-uyim-boundary-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mening-uyim-boundary-cards .card {
  text-align: center;
}

.mening-uyim-boundary-answer {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 16px;
}

/* ===== Services Page (Task 007) ===== */
.services-hero {
  text-align: center;
}

.services-lead {
  max-width: 700px;
  margin: 0 auto;
  color: #444;
  line-height: 1.6;
}

.services-group-intro {
  max-width: 700px;
  margin: 0 auto 24px;
  color: #444;
  line-height: 1.6;
  text-align: center;
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.work-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}

.work-order {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--green);
  color: var(--rich-green);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card-body h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--rich-green);
}

.work-note {
  font-size: 13px;
  font-style: italic;
  color: #777;
  margin-bottom: 8px;
}

.work-frequency {
  font-size: 13px;
  color: #777;
}

.services-note {
  text-align: center;
}

.services-note p {
  max-width: 600px;
  margin: 0 auto 24px;
  color: #444;
  line-height: 1.6;
}

/* ===== About Page (Task 008) ===== */
.about-hero {
  text-align: center;
}

.about-lead {
  max-width: 700px;
  margin: 0 auto 32px;
  color: #444;
  line-height: 1.6;
}

.about-mission h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--green);
  margin-bottom: 8px;
}

.about-mission p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 20px;
  font-weight: 600;
  color: var(--rich-green);
  line-height: 1.5;
}

.values-section,
.management-principles,
.care-block,
.approach-section,
.ecosystem-section {
  text-align: center;
}

.values-cards,
.approach-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.management-principles {
  background-color: #f7f7f7;
  border-radius: 12px;
}

.care-block p {
  max-width: 700px;
  margin: 0 auto 16px;
  color: #444;
  line-height: 1.6;
}

.care-list {
  max-width: 480px;
  margin: 24px auto 0;
  text-align: left;
  list-style: disc;
  padding-left: 20px;
  color: #444;
  line-height: 1.8;
}

.approach-conclusion {
  max-width: 700px;
  margin: 32px auto 0;
  padding: 20px 24px;
  border-left: 4px solid var(--green);
  background-color: #f7f7f7;
  color: var(--rich-green);
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
}

.ecosystem-section p {
  max-width: 700px;
  margin: 0 auto 16px;
  color: #444;
  line-height: 1.6;
}

.ecosystem-club-box {
  max-width: 600px;
  margin: 32px auto 0;
  padding: 32px 24px;
  border-radius: 12px;
  background-color: var(--rich-green);
  color: var(--white);
  text-align: center;
}

.ecosystem-club-box h3 {
  margin-bottom: 12px;
}

.ecosystem-club-box p {
  max-width: 100%;
  margin: 0 auto 16px;
  color: var(--white);
}

.ecosystem-club-box .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}

.ecosystem-club-box .btn-secondary:hover {
  background-color: var(--white);
  color: var(--rich-green);
}

/* ===== Family Park Club Page (Task 009) ===== */
.club-hero,
.club-audience,
.club-why,
.club-steps,
.club-status-section {
  text-align: center;
}

.club-lead {
  max-width: 700px;
  margin: 0 auto 16px;
  color: #444;
  line-height: 1.6;
}

.club-audience > p,
.club-why > p,
.club-status-section > p {
  max-width: 700px;
  margin: 0 auto 16px;
  color: #444;
  line-height: 1.6;
}

.club-status-badge {
  display: inline-block;
  margin: 0 auto 16px;
  padding: 10px 20px;
  border: 1px solid var(--green);
  border-radius: 20px;
  color: var(--rich-green);
  font-size: 14px;
  font-weight: 700;
}

.club-steps-note {
  max-width: 600px;
  margin: 24px auto 0;
  padding: 16px 20px;
  border-left: 4px solid var(--green);
  background-color: #f7f7f7;
  color: var(--rich-green);
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
}

/* ===== Footer ===== */
.site-footer {
  background-color: var(--rich-green);
  color: var(--white);
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 24px;
}

.footer-brand {
  margin-bottom: 32px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-mission {
  max-width: 400px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.85;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 24px;
  padding: 0;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.9;
}

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

.footer-legal {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-legal a {
  color: var(--white);
  font-size: 13px;
  opacity: 0.7;
  text-decoration: underline;
}

.footer-copy {
  font-size: 13px;
  opacity: 0.6;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
}

.quick-appeal-btn {
  display: none;
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .nav-list a {
    font-size: 18px;
  }

  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 16px;
  }

  .burger-btn {
    display: flex;
  }

  .quick-appeal-btn {
    display: inline-flex;
    padding: 8px 14px;
    font-size: 14px;
  }

  .what-we-do-cards,
  .how-we-work-cards {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .house-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .house-hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .house-about-item {
    flex-direction: column;
    gap: 4px;
  }

  .house-about-item dd {
    text-align: left;
  }

  .house-services-list,
  .house-notices-list,
  .house-documents-list {
    grid-template-columns: 1fr;
  }

  .appeal-success-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .appeal-success-actions .btn {
    width: 100%;
    text-align: center;
  }

  .mening-uyim-store-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .mening-uyim-store-cta .btn {
    width: 100%;
    text-align: center;
  }

  .mening-uyim-boundary-cards {
    grid-template-columns: 1fr;
  }

  .values-cards,
  .approach-cards {
    grid-template-columns: 1fr;
  }
}