section { padding: 56px 0; }

.p-top,
.p-agriculture,
.p-it-solution {
  position: relative;
  background-color: #dfe7ea;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

.p-top {
  background-image:
    linear-gradient(180deg, rgba(15, 28, 38, 0.12) 0%, rgba(15, 28, 38, 0.04) 22%, rgba(15, 28, 38, 0.08) 100%),
    url('../img/page/top-hero.jpg');
}

.p-agriculture {
  background-image:
    linear-gradient(180deg, rgba(11, 28, 24, 0.16) 0%, rgba(11, 28, 24, 0.05) 22%, rgba(11, 28, 24, 0.08) 100%),
    url('../img/page/agriculture-hero.jpg');
}

.p-it-solution {
  background-image:
    linear-gradient(180deg, rgba(6, 17, 30, 0.42) 0%, rgba(6, 17, 30, 0.20) 22%, rgba(6, 17, 30, 0.12) 100%),
    url('../img/page/it-hero.jpg');
}

.p-top-hero,
.p-page-hero {
  background: transparent;
}

.p-scene-visual {
  position: relative;
  min-height: clamp(300px, 42vw, 560px);
  background: transparent;
  overflow: hidden;
}

.p-scene-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 28, 38, 0.04) 0%, rgba(15, 28, 38, 0.02) 48%, rgba(15, 28, 38, 0.00) 100%);
  pointer-events: none;
}

.p-content-flow {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 56px));
  margin: -108px auto 0;
  background: #ffffff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 24px 64px rgba(15, 28, 38, 0.14);
  overflow: hidden;
}

.p-content-flow .l-container {
  width: auto;
  margin: 0;
}

.p-flow-section {
  position: relative;
  background: transparent;
}

.p-flow-section > .l-container {
  padding: 0 clamp(24px, 4vw, 48px);
}

.p-flow-section--intro {
  padding-top: clamp(32px, 4vw, 52px);
}

.p-flow-section + .p-flow-section {
  border-top: 1px solid rgba(217, 225, 232, 0.55);
}

.p-top-services,
.p-agriculture-menu,
.p-civil-services,
.p-top-news,
.p-it-network,
.p-contact-form-section,
.p-news-list-section,
.p-top-about,
.p-agriculture-cloud,
.p-it-dev,
.p-it-daily,
.p-agriculture-support {
  background: transparent;
}

.p-page-hero--civil {
  background: linear-gradient(180deg, rgba(85, 85, 85, .12), rgba(255, 255, 255, 0));
}

.p-page-hero--contact,
.p-page-hero--news,
.p-page-hero--thanks {
  background: linear-gradient(180deg, rgba(31, 75, 102, .08), rgba(255, 255, 255, 0));
}

.p-top-contact-cta {
  padding-top: 40px;
}

.p-content-flow .c-contact-cta .l-container {
  padding: 0 clamp(24px, 4vw, 48px);
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.p-contact-sub-info {
  margin-top: 28px;
  padding: 24px;
  border-radius: 18px;
  background: #f7fafc;
  border: 1px solid var(--color-border);
}

.p-contact-sub-info .c-section-title {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.p-news .c-news-title { font-size: 1.3rem; }
.p-thanks .p-page-hero--thanks { min-height: 50vh; display: flex; align-items: center; }

@media (max-width: 1023px) {
  .p-top,
  .p-agriculture,
  .p-it-solution {
    background-attachment: scroll;
    background-position: center top;
  }
}

@media (max-width: 767px) {
  section { padding: 44px 0; }

  .p-scene-visual {
    min-height: 220px;
  }

  .p-content-flow {
    width: calc(100% - 24px);
    margin-top: -32px;
    border-radius: 22px 22px 0 0;
  }

  .p-flow-section > .l-container,
  .p-content-flow .c-contact-cta .l-container {
    padding: 0 18px;
  }

  .p-flow-section--intro {
    padding-top: 22px;
  }

  .p-contact-sub-info {
    margin-top: 20px;
    padding: 20px;
  }

  .p-thanks .p-page-hero--thanks {
    min-height: auto;
    display: block;
  }
}
