/* Базові стилі типографіки */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

p {
  margin: 0 0 1em;
  line-height: 1.7;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.site-header, .site-footer { padding: 16px 0; border-bottom: 1px solid #eee; }
.site-header {
  display: none;
}
.site-header .logo {
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: #333;
  letter-spacing: -0.01em;
}
.site-footer { border-top: 1px solid #eee; border-bottom: 0; margin-top: 40px; }
.post { padding: 16px 0; border-bottom: 1px solid #f1f1f1; }


/* Базовий контейнер (якщо ще не було) */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Секція */
.hero-split {
  padding: 60px 0;
}

@media (max-width: 768px) {
  .hero-split {
    padding: 30px 0;
  }
  
  .container {
    padding: 0 8px;
  }
}

/* 60/40 */
.hero-split__grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 32px;
  align-items: stretch;
}

/* LEFT */
.hero-split__left {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  order: 1;
}

.hero-split__header {
  margin-bottom: 24px;
}

.hero-split__title {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-split__subtitle {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  letter-spacing: 0.01em;
}

/* Features list */
.features {
  display: grid;
  gap: 16px;
}

/* Feature item: 2 columns (image + text) */
.feature {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #f1f1f1;
  border-radius: 12px;
  background: #fafafa;
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature:hover {
  background: #fff;
  border-color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.feature__img img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.feature__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.feature__text {
  margin: 0;
  color: #555;
  line-height: 1.7;
  font-size: 15px;
  letter-spacing: 0.01em;
}

/* RIGHT */
.hero-split__right {
  background: linear-gradient(135deg, #188669 0%, #1a9d6f 100%); /* зелений градієнт */
  color: #fff;
  padding: 40px 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(24, 134, 105, 0.2);
  order: 2;
}

.hero-split__right-header {
  margin-bottom: 24px;
}

.hero-split__right-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-split__right-subtitle {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.95;
  letter-spacing: 0.01em;
}

.hero-split__right-benefits {
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.hero-split__right-text {
  margin: 0;
  line-height: 2;
  font-size: 15px;
  opacity: 0.95;
  letter-spacing: 0.01em;
}

.hero-split__right-text strong {
  font-weight: 600;
  color: #fff;
  margin-right: 8px;
  font-size: 16px;
}

/* Form wrapper */
.hero-split__form {
  margin-top: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  flex: 1;
}

.hero-split__footer-text {
  margin: auto 8px 0 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  text-align: center;
}

.hero-split__left-footer-text {
  margin: auto 8px 0 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-split__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-split__left {
    order: 2;
    padding: 20px;
  }

  .hero-split__right {
    order: 1;
    padding: 24px 20px;
  }

  .hero-split__title {
    font-size: 26px;
  }

  .hero-split__right-title {
    font-size: 22px;
  }

  .hero-split__right-benefits {
    padding: 16px;
  }

  .hero-split__right-text {
    font-size: 14px;
    line-height: 1.8;
  }

  .feature {
    grid-template-columns: 72px 1fr;
  }

  .feature__img img {
    width: 72px;
    height: 72px;
  }
}

/* Pages Gallery */
.pages-gallery {
  padding: 60px 0;
}

.pages-gallery__title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 40px;
  color: #333;
}

.pages-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.pages-gallery__item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pages-gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #188669;
}

.pages-gallery__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
}

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

.pages-gallery__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #188669 0%, #1a9d6f 100%);
  color: #fff;
}

.pages-gallery__image--placeholder span {
  font-size: 64px;
  font-weight: 700;
  opacity: 0.8;
}

.pages-gallery__content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pages-gallery__item-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.pages-gallery__item-excerpt {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  flex: 1;
}

@media (max-width: 768px) {
  .pages-gallery {
    padding: 40px 0;
  }

  .pages-gallery__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .pages-gallery__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pages-gallery__image {
    height: 180px;
  }

  .pages-gallery__content {
    padding: 16px;
  }
}


.hero-split__footer-text a {
  text-decoration: underline;
}

