/*
 * Новогодний корпоратив 2027 — АМАКС Ершово
 *
 * Все стили изолированы внутри корневого блока .eny:
 *  - каждый селектор начинается с .eny, классы имеют префикс eny-;
 *  - теги (body, h2, p, img…) глобально не стилизуются;
 *  - размеры в px, чтобы не зависеть от font-size сайта-донора;
 *  - элементы блока сбрасывают внешние стили, которые могли бы «протечь» с сайта;
 *  - шрифт Circe берётся с основного сайта (здесь не подключается).
 */

/* ---------- Корень и локальный сброс ---------- */

.eny {
  --eny-green: #2c4633;
  --eny-green-dark: #1f3325;
  --eny-gold: #b8914a;
  --eny-gold-light: #e2c689;
  --eny-cream: #f6f2e9;
  --eny-text: #2a2a2a;
  --eny-muted: #6b675e;
  --eny-line: #e3dccd;
  --eny-radius: 14px;
  --eny-font: "Circe", "Helvetica Neue", Arial, sans-serif;

  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--eny-text);
  font-family: var(--eny-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  -webkit-text-size-adjust: 100%;
}

.formv2-holder .input-holder input[type="text"],
.formv2-holder .input-holder input[type="email"] {
  border: 2px solid silver !important;
}

/*
 * Сброс применяется только к элементам с классами eny-*,
 * поэтому вставленный в блок сторонний код (форма заявки) им не затрагивается.
 */
.eny [class*="eny-"],
.eny [class*="eny-"]::before,
.eny [class*="eny-"]::after {
  box-sizing: border-box;
}

.eny [class*="eny-"] {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  float: none;
  list-style: none;
  text-decoration: none;
}

.eny li[class*="eny-"]::before,
.eny li[class*="eny-"]::marker {
  content: none;
}

.eny img[class*="eny-"] {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- Каркас ---------- */

.eny .eny-section {
  padding: 56px 0;
}

.eny .eny-section--tinted {
  background: var(--eny-cream);
}

.eny .eny-container {
  width: 100%;
  padding: 0 24px;
}

/* ---------- Типографика ---------- */

.eny .eny-title {
  margin: 0 0 24px;
  color: var(--eny-green);
  font-family: var(--eny-font);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
}

.eny .eny-title--left {
  text-align: left;
}

.eny .eny-lead {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
}

.eny .eny-text {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.6;
}

.eny .eny-text:last-child {
  margin-bottom: 0;
}

.eny .eny-text--center {
  text-align: center;
}

.eny .eny-strong {
  font-weight: 700;
  color: var(--eny-green);
}

/* ---------- Кнопки ---------- */

.eny .eny-btn {
  display: inline-block;
  margin: 0;
  padding: 14px 32px;
  border: 2px solid var(--eny-gold);
  border-radius: 999px;
  background: transparent;
  color: var(--eny-green);
  font-family: var(--eny-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.eny .eny-btn--outline:hover,
.eny .eny-btn--outline:focus-visible {
  background: var(--eny-gold);
  color: #fff;
}

/* ---------- Баннер ---------- */

.eny .eny-hero {
  padding: 0;
}

.eny .eny-hero__img {
  width: 100%;
}

/* ---------- Цена ---------- */

.eny .eny-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 14px;
  max-width: 640px;
  margin: 32px auto 40px;
  padding: 22px 28px;
  border-radius: var(--eny-radius);
  background: var(--eny-green);
  color: #fff;
  text-align: center;
}

.eny .eny-price__label,
.eny .eny-price__note {
  font-size: 20px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.9);
}

.eny .eny-price__value {
  font-family: var(--eny-font);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--eny-gold-light);
  white-space: nowrap;
}

/* ---------- Программы ---------- */

.eny .eny-programs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.eny .eny-programs__item {
  overflow: hidden;
  border-radius: var(--eny-radius);
  box-shadow: 0 10px 30px rgba(31, 51, 37, 0.18);
}

.eny .eny-programs__img {
  width: 100%;
}

/* ---------- Меню ---------- */

.eny .eny-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.eny .eny-menu__preview {
  display: block;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  border-radius: var(--eny-radius);
  box-shadow: 0 12px 36px rgba(31, 51, 37, 0.25);
  transition: transform 0.2s;
}

.eny .eny-menu__preview:hover {
  transform: translateY(-3px);
}

.eny .eny-menu__img {
  width: 100%;
}

/* ---------- Банкетные залы ---------- */

.eny .eny-halls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 24px;
  margin-top: 32px;
}

.eny .eny-hall {
  flex: 0 1 calc((100% - 48px) / 3);
  overflow: hidden;
  border-radius: var(--eny-radius);
  background: #fff;
  box-shadow: 0 6px 20px rgba(31, 51, 37, 0.08);
}

.eny .eny-hall__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.eny .eny-hall__body {
  padding: 16px 18px 20px;
  text-align: center;
}

.eny .eny-hall__name {
  margin: 0 0 4px;
  color: var(--eny-green);
  font-family: var(--eny-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

.eny .eny-hall__capacity {
  margin: 0;
  color: var(--eny-muted);
  font-size: 16px;
}

/* ---------- Возможности ---------- */

.eny .eny-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 24px;
  max-width: 1200px;
  margin: 36px auto 0;
}

.eny .eny-feature {
  display: flex;
  flex: 0 1 calc((100% - 72px) / 4);
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.eny .eny-feature__icon {
  width: 88px;
  height: 88px;
  padding: 6px;
  border: 1px solid var(--eny-line);
  border-radius: 50%;
  background: #fff;
}

.eny .eny-feature__text {
  display: block;
  max-width: 220px;
  font-size: 17px;
  line-height: 1.4;
}

/* ---------- Корпоративное предложение ---------- */

.eny .eny-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 40px;
}

.eny .eny-offer__img {
  width: 100%;
  border-radius: var(--eny-radius);
  box-shadow: 0 10px 30px rgba(31, 51, 37, 0.15);
}

/* ---------- Заявка ---------- */

.eny .eny-request__slot {
  margin-top: 32px;
}

/* ---------- Адаптив ---------- */

@media (max-width: 900px) {
  .eny .eny-hall {
    flex-basis: calc((100% - 24px) / 2);
  }

  .eny .eny-feature {
    flex-basis: calc((100% - 48px) / 3);
  }

  .eny .eny-offer {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .eny {
    font-size: 16px;
  }

  .eny .eny-section {
    padding: 40px 0;
  }

  .eny .eny-container {
    padding: 0 16px;
  }

  .eny .eny-title {
    font-size: 28px;
  }

  .eny .eny-lead {
    font-size: 18px;
  }

  .eny .eny-price__value {
    font-size: 36px;
  }

  .eny .eny-price__label,
  .eny .eny-price__note {
    font-size: 17px;
  }

  .eny .eny-programs {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .eny .eny-hall {
    flex-basis: 100%;
  }

  .eny .eny-features {
    gap: 28px 16px;
  }

  .eny .eny-feature {
    flex-basis: calc((100% - 16px) / 2);
  }
}