/* Catalogue 2027 — styles for catalog*.html and the catalogue block on index.html.
   Generated pages: see tools/build_site.py. Palette and type follow css/style.css. */

/* ---------- shared ---------- */
.catalog-greenhouse .card__img img {
  object-fit: contain;
  background: #fff;
}

.catalog-greenhouse .swiper-slide a {
  display: block;
  height: 100%;
}

.catalog-intro {
  max-width: 820px;
  margin: 0 0 40px 0;
}

.catalog-intro__label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #204b59;
  opacity: 0.7;
  margin: 0 0 8px 0;
}

.catalog-intro__title {
  margin: 0 0 16px 0;
}

.catalog-intro__text {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 18px 0;
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.spec-chips li {
  font-size: 13px;
  line-height: 1;
  padding: 8px 12px;
  border: 1px solid #bfdcae;
  border-radius: 999px;
  background: #fff;
  color: #204b59;
  white-space: nowrap;
}

.catalog-greenhouse .greenhouses-card__item {
  margin: 0 0 64px 0;
}

.catalog-greenhouse .greenhouses-card__param {
  flex-direction: column;
  gap: 4px;
}

.catalog-greenhouse .greenhouses-card__descr em {
  font-style: italic;
  opacity: 0.85;
}

.family-head {
  margin: 8px 0 28px 0;
  padding: 0 0 12px 0;
  border-bottom: 2px solid #bfdcae;
}

.family-head__name {
  font-family: 'HelveticaNeueCyr';
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  margin: 0 0 6px 0;
}

.family-head__text {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.range-foot {
  max-width: 560px;
  margin: 24px 0 48px 0;
}

.range-foot p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 18px 0;
}

.real-photos {
  margin: 0 0 56px 0;
}

.real-photos .greenhouse-card__title {
  margin: 0 0 20px 0;
}

.real-photos__img {
  margin: 28px 0 0 0 !important;
  width: 100%;
  max-width: 820px;
  height: 460px;
  margin: 0;
}

.real-photos__img img {
  object-fit: cover !important;
}

/* ---------- catalogue sidebar: quiet selection ---------- */
.catalog-greenhouse .aside__link {
  position: relative;
  transition: background-color 0.15s, color 0.15s;
}

.catalog-greenhouse .aside__link:hover {
  background: #f6faf2;
}

.catalog-greenhouse .aside__link.current {
  font-weight: 700;
  color: #204b59;
  background: #eef6e7;
  padding: 17px 15px 16.2px 15px;
}

.catalog-greenhouse .aside__link.current::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #bfdcae;
}

.catalog-greenhouse .aside__item:first-child .aside__link.current::before {
  border-top-left-radius: 5px;
}

.catalog-greenhouse .aside__item:last-child .aside__link.current::before {
  border-bottom-left-radius: 5px;
}

@media screen and (max-width: 840px) {
  .catalog-greenhouse .aside__link.current {
    background: none;
    padding: 11px;
  }
  .catalog-greenhouse .aside__link.current::before {
    display: none;
  }
}

/* ---------- tables ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.addons-table {
  width: 100%;
  max-width: 460px;
  border-collapse: collapse;
  margin: 0 0 16px 0;
  font-size: 14px;
}

.compare-table {
  max-width: none;
  min-width: 640px;
}

.addons-table th,
.addons-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #d1d1d1;
  line-height: 1.3;
}

.addons-table th {
  background: #204b59;
  color: #fff;
  font-weight: 700;
}

.addons-table td:not(:first-child),
.addons-table th:not(:first-child) {
  text-align: center;
}

.compare-table td:first-child {
  font-weight: 700;
  white-space: nowrap;
}

.compare-table a {
  color: #204b59;
  border-bottom: 1px solid #bfdcae;
}

.addons-table tbody tr:nth-child(odd) {
  background: #f3f9ef;
}

/* ---------- add-ons page ---------- */
.addons-block {
  margin: 0 0 64px 0;
}

.addons-block .greenhouse-card__title {
  margin: 0 0 24px 0;
}

.addons-windows {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.addons-windows img {
  width: 100%;
  display: block;
  box-shadow: 25px -17px 0px -1px #bfdcae;
}

.addons-windows p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
  padding: 0;
  margin: 0 0 32px 0;
}

.addons-grid__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  display: block;
  border: 1px solid #e6e6e6;
}

.addons-grid__name {
  display: block;
  font-weight: 700;
  margin: 12px 0 4px 0;
}

.addons-grid__spec {
  display: block;
  font-size: 14px;
  opacity: 0.75;
}

/* ---------- hub page + home: range cards ---------- */
.range-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
  padding: 0;
  margin: 0 0 56px 0;
}

.range-cards--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 28px 0 20px 0;
}

.range-card__link {
  display: block;
  color: #204b59;
  background: #fff;
  border: 1px solid #bfdcae;
  border-radius: 5px;
  padding: 0 0 18px 0;
  height: 100%;
  transition: box-shadow 0.2s;
}

.range-card__link:hover {
  box-shadow: 0 6px 24px rgba(32, 75, 89, 0.12);
}

.range-card__link img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border-bottom: 1px solid #eef3e9;
  margin: 0 0 14px 0;
}

.range-card__code {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  padding: 0 18px;
  margin: 0 0 6px 0;
}

.range-card__name {
  display: block;
  font-family: 'HelveticaNeueCyr';
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  padding: 0 18px;
  margin: 0 0 8px 0;
}

.range-card__summary {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  padding: 0 18px;
}

.home-catalog {
  margin: 0 0 56px 0;
}

.home-catalog__text,
.hub-section__text {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.55;
  margin: 12px 0 0 0;
}

.home-catalog__links {
  font-size: 16px;
}

.home-catalog__links a {
  color: #204b59;
  border-bottom: 1px solid #bfdcae;
}

/* ---------- hub: sections, model grid, how to choose ---------- */
.hub-section {
  margin: 0 0 56px 0;
}

.hub-section .greenhouse-card__title {
  margin: 0 0 14px 0;
}

.hub-section__note {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.8;
  margin: 8px 0 24px 0;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 24px 0 0 0;
}

.choose-grid__item {
  position: relative;
  padding: 0 0 0 40px;
}

.choose-grid__letter {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #bfdcae;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 28px;
  text-align: center;
}

.choose-grid__name {
  display: block;
  font-weight: 700;
  font-size: 16px;
  margin: 4px 0 6px 0;
}

.choose-grid__text {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.model-grid__title {
  margin: 0 0 16px 0;
}

.model-grid__title a {
  color: #204b59;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 16px;
  padding: 0;
  margin: 0 0 40px 0;
}

.model-grid__item a {
  display: block;
  color: #204b59;
}

.model-grid__item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e6e6e6;
  margin: 0 0 10px 0;
  transition: border-color 0.2s;
}

.model-grid__item a:hover img {
  border-color: #bfdcae;
}

.model-grid__name {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 3px 0;
}

.model-grid__spec {
  display: block;
  font-size: 13px;
  opacity: 0.75;
}

/* ---------- home: how to order ---------- */
.home-order {
  margin: 0 0 72px 0;
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 0;
  margin: 28px 0 32px 0;
}

.order-steps__num {
  display: block;
  font-family: 'HelveticaNeueCyr';
  font-weight: 700;
  font-size: 28px;
  color: #bfdcae;
  margin: 0 0 8px 0;
}

.order-steps__name {
  display: block;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px 0;
}

.order-steps__text {
  display: block;
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- responsive ---------- */
@media screen and (max-width: 1023px) {
  .range-cards--home,
  .model-grid,
  .choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .real-photos__img {
    height: 360px;
  }
}

@media screen and (max-width: 840px) {
  .addons-windows {
    grid-template-columns: minmax(0, 1fr);
  }
  .addons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .order-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media screen and (max-width: 550px) {
  .catalog-greenhouse .greenhouses-card__item {
    margin: 0 0 48px 0;
  }
  .range-cards,
  .range-cards--home {
    grid-template-columns: minmax(0, 1fr);
  }
  .model-grid,
  .choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .addons-grid {
    gap: 24px 16px;
  }
  .real-photos__img {
    height: 240px;
  }
}

/* ---------- contacts: sales team ---------- */
.team-title {
  font-family: 'HelveticaNeueCyr';
  font-weight: 700;
  font-size: 26px;
  text-align: center;
  margin: 0 0 8px 0;
}

.team-intro {
  text-align: center;
  font-size: 16px;
  margin: 0 0 32px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
  margin: 0 0 64px 0;
}

.team-card {
  text-align: center;
}

.team-card__photo {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  overflow: hidden;
  background: #bfdcae;
  color: #fff;
  font-family: 'HelveticaNeueCyr';
  font-weight: 700;
  font-size: 44px;
  line-height: 160px;
}

.team-card__photo::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  text-align: center;
}

.team-card__photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__name {
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 4px 0;
}

.team-card__role {
  font-size: 14px;
  opacity: 0.7;
  margin: 0 0 12px 0;
}

.team-card__links a {
  display: block;
  color: #204b59;
  font-size: 15px;
  margin: 0 0 6px 0;
  word-break: break-all;
}

.team-card__wa {
  display: inline-block !important;
  margin-top: 4px !important;
  padding: 4px 12px;
  border: 1px solid #bfdcae;
  border-radius: 999px;
  font-size: 13px !important;
}

.contact-body p {
  margin: 0 0 8px 0;
  line-height: 1.4;
}

@media screen and (max-width: 1023px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 550px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

/* ---------- lead form (modal "Get price") ---------- */
.modal-form {
  width: 400px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.lead-form__intro {
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 14px 0;
}

.modal-body textarea {
  display: block;
  width: 100%;
  margin: 0 0 10px 0;
  padding: 10px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  color: #204b59;
  font-family: "Roboto Regular", sans-serif;
  font-size: 14px;
  resize: vertical;
}

.modal-body input {
  color: #204b59;
  font-size: 14px;
}

.modal-body input:focus,
.modal-body textarea:focus {
  outline: none;
  border-color: #bfdcae;
  box-shadow: 0 0 0 3px rgba(191, 220, 174, 0.35);
}

.modal-body button[type="submit"] {
  cursor: pointer;
  border: 0;
  border-radius: 4px;
  transition: background-color 0.15s;
}

.modal-body button[type="submit"]:hover {
  background: #5fbf87;
}

.modal-body button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: default;
}

.lead-form__hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form__status {
  min-height: 1.2em;
  font-size: 14px;
  margin: 10px 0 0 0;
}

.lead-form__status.is-ok {
  color: #2e7d4f;
  font-weight: 700;
}

.lead-form__status.is-error {
  color: #b23a3a;
}

.lead-form.is-sent input,
.lead-form.is-sent textarea,
.lead-form.is-sent button,
.lead-form.is-sent .lead-form__intro {
  display: none;
}

.lead-form__legal {
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.75;
  margin: 12px 0 0 0;
}

.lead-form__legal a,
.lead-form__alt a {
  color: #204b59;
  border-bottom: 1px solid #bfdcae;
}

.lead-form__alt {
  font-size: 13px;
  line-height: 1.5;
  margin: 10px 0 0 0;
  padding: 10px 0 0 0;
  border-top: 1px solid #eee;
}

/* ---------- cookie banner ---------- */
#cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
  background: #fffff6;
  color: #204b59;
  border: 1px solid #bfdcae;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(32, 75, 89, 0.18);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

#cookie-banner.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cookie-banner__text {
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner__text a {
  color: #204b59;
  border-bottom: 1px solid #bfdcae;
  white-space: nowrap;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: inherit;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #204b59;
  background: #fff;
  color: #204b59;
}

.cookie-btn--accept {
  background: #204b59;
  color: #fff;
}

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

@media screen and (max-width: 640px) {
  #cookie-banner {
    flex-direction: column;
    align-items: stretch;
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .cookie-banner__actions {
    justify-content: stretch;
  }
  .cookie-btn {
    flex: 1;
  }
}

/* ---------- privacy page ---------- */
.legal {
  max-width: 760px;
  margin: 48px auto 72px auto;
  font-size: 16px;
  line-height: 1.6;
}

.legal h1 {
  margin: 0 0 8px 0;
}

.legal .legal__updated {
  font-size: 14px;
  opacity: 0.7;
  margin: 0 0 32px 0;
}

.legal h2 {
  font-family: 'HelveticaNeueCyr';
  font-weight: 700;
  font-size: 20px;
  margin: 32px 0 10px 0;
}

.legal p,
.legal ul {
  margin: 0 0 12px 0;
}

.legal ul {
  padding-left: 22px;
}

.legal li {
  list-style: disc;
  margin: 0 0 6px 0;
}

.legal a {
  color: #204b59;
  border-bottom: 1px solid #bfdcae;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0 0 16px 0;
}

.legal th,
.legal td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #d1d1d1;
  vertical-align: top;
}

.legal th {
  background: #204b59;
  color: #fff;
}
