/* Why AYENYX — cinematic luxury chapter */

.home-value {
  --hv-navy: #000000;
  --hv-navy-2: #0a0a0a;
  --hv-line: rgba(255, 255, 255, 0.14);
  --hv-muted: rgba(245, 245, 247, 0.68);
  --hv-accent: var(--ayenyx-primary, #c3002f);
  --hv-secondary: var(--ayenyx-secondary, #fbaa25);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  color: #f5f5f7;
  background: #000 !important;
  background-image: none !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: none !important;
  font-family: var(--ayenyx-font, 'Outfit', system-ui, sans-serif);
}

.home-value__bg,
.home-value__bg-img,
.home-value__bg-shade,
.home-value__footer,
.home-value__visual-overlay,
.home-value__visual-badge,
.home-value__icon,
.home-value__card-index,
.home-value__shade,
.home-value__pattern-img,
.home-value__pattern-shade {
  display: none !important;
}

.home-value__stage {
  position: relative;
  z-index: 2;
  isolation: isolate;
  min-height: clamp(520px, 64vh, 700px);
  overflow: hidden;
}

.home-value__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  margin: 0;
  aspect-ratio: auto;
  overflow: hidden;
  background: #0a0a0a;
  border: 0;
}

.home-value__visual-img,
.home-value__visual > img.home-value__visual-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 58% 42%;
}

.home-value__visual-shade {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.78) 32%,
    rgba(0, 0, 0, 0.28) 58%,
    rgba(0, 0, 0, 0.42) 100%
  );
}

.home-value__shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(20rem, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: clamp(520px, 64vh, 700px);
  margin: 0;
  padding: 0;
}

.home-value__panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  padding: 0;
  background: transparent;
}

.home-value__panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  width: 100%;
  max-width: 34rem;
  box-sizing: border-box;
  padding-left: var(--ayenyx-align, 1.75rem);
  padding-right: var(--ayenyx-gutter, 1.25rem);
}

.home-value__panel-content::before {
  content: '';
  position: absolute;
  left: calc(var(--ayenyx-align, 1.75rem) - 1.05rem);
  top: 0.35rem;
  width: 2px;
  height: 3.75rem;
  background: var(--hv-secondary);
}

.home-value__tag {
  display: none !important;
}

.home-value__title {
  margin: 0;
  max-width: none;
  font-size: clamp(2.15rem, 1.9rem + 1.3vw, 3.2rem) !important;
  font-weight: 600 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em;
  color: #fff !important;
  background: none !important;
}

.home-value__title-keep {
  display: inline-block;
  white-space: nowrap;
}

.home-value__title::after {
  display: block !important;
  content: '' !important;
  width: 3.25rem;
  height: 2px;
  margin-top: 0.95rem;
  background: var(--hv-secondary);
}

.home-value__lead {
  margin: 0;
  max-width: 48ch;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--hv-muted);
}

.home-value__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.95rem 1.35rem;
  width: 100%;
  margin: 0.25rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.home-value__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.55rem !important;
  border-radius: 0 !important;
  border: 1px solid var(--hv-accent) !important;
  background: var(--hv-accent) !important;
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none !important;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.home-value__cta:hover {
  background: #a60028 !important;
  border-color: #a60028 !important;
  color: #fff !important;
  transform: none;
  box-shadow: none !important;
}

.home-value__link {
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.home-value__link:hover {
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, 0.75);
}

.home-value__points {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(132px, auto);
  gap: 0.85rem;
  width: 100%;
  min-height: clamp(480px, 58vh, 620px);
  margin: 0;
  padding: 1.15rem var(--ayenyx-align, 1.5rem) 1.15rem var(--ayenyx-gutter, 1.25rem);
  list-style: none;
  border: 0;
  align-content: end;
}

.home-value__point {
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0 !important;
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none !important;
  cursor: default;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.home-value__point.is-featured {
  grid-column: span 7;
  grid-row: span 2;
  padding: 1.5rem 1.45rem 1.45rem;
}

.home-value__point.is-compact {
  grid-column: span 5;
  grid-row: span 1;
}

.home-value__point.is-wide {
  grid-column: span 12;
  grid-row: span 1;
}

.home-value__point:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.home-value__point:hover {
  background: #141414 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

.home-value__point-num {
  display: none !important;
}

.home-value__point-content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  padding-right: 0.4rem;
}

.home-value__point.is-featured .home-value__point-title {
  font-size: 1.45rem;
}

.home-value__point.is-featured .home-value__point-text {
  max-width: 42ch;
  -webkit-line-clamp: 4;
}

.home-value__point-title {
  position: relative;
  width: fit-content;
  margin: 0;
  padding-bottom: 0.4rem;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #fff;
}

.home-value__point-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--hv-secondary);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-value__point:hover .home-value__point-title::after {
  width: 100%;
}

.home-value__point-text {
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-value__point:hover .home-value__point-text {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 991px) {
  .home-value {
    min-height: 0;
  }

  .home-value__shell {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .home-value__panel {
    min-height: 0;
    padding: 2.25rem 0 1.75rem;
  }

  .home-value__panel-content {
    max-width: none;
    padding-left: var(--ayenyx-gutter, 1.25rem);
    padding-right: var(--ayenyx-gutter, 1.25rem);
  }

  .home-value__panel-content::before {
    left: calc(var(--ayenyx-gutter, 1.25rem) - 0.85rem);
  }

  .home-value__title {
    max-width: none;
  }

  .home-value__visual-shade {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.42) 46%,
      rgba(0, 0, 0, 0.55) 100%
    );
  }

  .home-value__stage,
  .home-value__points {
    min-height: 0;
  }

  .home-value__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0.75rem;
    padding: 0.9rem var(--ayenyx-gutter, 1.25rem);
  }

  .home-value__point.is-featured,
  .home-value__point.is-compact,
  .home-value__point.is-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .home-value__point.is-featured {
    grid-column: span 2;
  }

  .home-value__point,
  .home-value__point:last-child {
    padding: 1.05rem 1rem 1.1rem;
  }

  .home-value__title {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .home-value__title {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.45rem) !important;
  }

  .home-value__lead {
    font-size: 1rem;
  }

  .home-value__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .home-value__cta {
    width: 100%;
    min-height: 48px;
  }

  .home-value__link {
    align-self: flex-start;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .home-value__points {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .home-value__points {
    grid-template-columns: 1fr;
  }

  .home-value__point.is-featured,
  .home-value__point.is-compact,
  .home-value__point.is-wide {
    grid-column: span 1;
  }

  .home-value__point-title {
    font-size: 1.05rem;
  }

  .home-value__point-text {
    font-size: 0.875rem;
    -webkit-line-clamp: 4;
  }
}

/* About AYENYX — full-bleed split; text aligns with shared --ayenyx-align */
.home-about-partner {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  color: #1a1a1c;
  background: #fff !important;
  background-image: none !important;
  border: none;
  border-top: 0;
  font-family: var(--ayenyx-font, 'Outfit', system-ui, sans-serif);
}

.home-about-partner__wrap {
  display: grid;
  grid-template-columns: minmax(22rem, 0.92fr) minmax(0, 1.18fr);
  align-items: stretch;
  width: 100%;
  min-height: min(72vh, 720px);
}

.home-about-partner__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding-top: clamp(3.25rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.25rem, 6vw, 5.5rem);
  padding-right: clamp(1.5rem, 3vw, 2.5rem);
  padding-left: var(--ayenyx-align, 1.5rem);
}

.home-about-partner__title {
  margin: 0 0 1.35rem;
  max-width: 12ch;
  color: #111 !important;
  font-size: var(--ayenyx-fs-h2, calc(40px * var(--ayenyx-scale, 1)));
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.home-about-partner__lead {
  margin: 0 0 2rem;
  max-width: 44ch;
  color: #4b4b50 !important;
  font-size: var(--ayenyx-fs-body, calc(15px * var(--ayenyx-scale, 1)));
  font-weight: 400;
  line-height: 1.75;
}

.home-about-partner__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  color: var(--ayenyx-secondary, #fbaa25);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, gap 0.2s ease, border-color 0.2s ease;
}

.home-about-partner__link:hover {
  color: var(--ayenyx-secondary-hover, #e69812);
  gap: 0.8rem;
  border-bottom-color: var(--ayenyx-secondary-muted, rgba(251, 170, 37, 0.55));
}

.home-about-partner__arrow {
  font-size: 1.1em;
  line-height: 1;
}

.home-about-partner__media {
  position: relative;
  margin: 0;
  min-height: min(72vh, 720px);
  overflow: hidden;
  background: #0a0d12;
}

.home-about-partner__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}

@media (max-width: 991px) {
  .home-about-partner__wrap {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-about-partner__copy {
    padding: 3rem var(--ayenyx-gutter, 1.25rem) 2.25rem;
  }

  .home-about-partner__title {
    max-width: none;
    font-size: clamp(2rem, 6vw, 2.6rem);
  }

  .home-about-partner__media {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 575px) {
  .home-about-partner__copy {
    padding: 2.5rem var(--ayenyx-gutter, 1.25rem) 2rem;
  }

  .home-about-partner__lead {
    font-size: 16px;
  }

  .home-about-partner__media {
    aspect-ratio: 4 / 3;
  }
}
