/* home-base.css — auto-split from home.css */

:root {
  --header-height: 120px;
}

body.home {
  background: #111;
  overflow-x: hidden;
}

.home-main {
  background: #081412;
  height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: none;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
}

.home-main.is-free-scroll {
  scroll-snap-type: none;
}

.home-section {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.home-display-title,
.home-display-subtitle,
.home-service-card__title,
.home-conference__content h2,
.home-guests__title {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.booking-widget .booking-dropdown--special {
  box-sizing: border-box;
  width: 305px;
  min-height: 195px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.booking-currency-dropdown__option {
  width: 100%;
  min-height: 44px;
  padding: 0 26px;
  border: 0;
  display: flex;
  align-items: center;
  background: transparent;
  color: #000;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.booking-currency-dropdown__option:hover,
.booking-currency-dropdown__option:focus-visible,
.booking-currency-dropdown__option[aria-selected="true"] {
  background: rgba(198, 193, 161, 0.16);
}

.booking-special-dropdown__field {
  position: relative;
  display: block;
  min-height: 66px;
  color: #000;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  cursor: text;
}

.booking-special-dropdown__field + .booking-special-dropdown__field {
  margin-top: 30px;
}

.booking-special-dropdown__label {
  position: absolute;
  left: 0;
  top: 22px;
  z-index: 1;
  display: block;
  color: #040404;
  pointer-events: none;
  transition:
    top 160ms ease,
    font-size 160ms ease,
    color 160ms ease;
}

.booking-special-dropdown__field input {
  width: 100%;
  height: 66px;
  padding: 24px 0 0;
  border: 0;
  border-bottom: 1px solid #c6c1a1;
  border-radius: 0;
  appearance: none;
  background: transparent;
  color: #000;
  font: inherit;
  outline-offset: 4px;
}

.booking-special-dropdown__field input::placeholder {
  color: transparent;
}

.booking-special-dropdown__field input:focus {
  outline: 0;
  border-bottom-color: #040404;
}

.booking-special-dropdown__field:focus-within .booking-special-dropdown__label,
.booking-special-dropdown__field.has-value .booking-special-dropdown__label,
.booking-special-dropdown__field input:not(:placeholder-shown) + .booking-special-dropdown__label {
  top: 0;
  font-size: 12px;
}

.booking-special-dropdown__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 14px;
}

.booking-special-dropdown__actions .button-primary {
  width: 145px;
  min-height: var(--button-height);
  padding: 0 var(--button-padding-x);
  font-size: var(--button-font-size);
  letter-spacing: var(--button-letter-spacing);
}

.home-conference__content p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.72;
}

.home-scroll-next {
  margin-top: 44px;
  width: 40px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
}

.home-scroll-next span {
  width: 40px;
  height: 22px;
  display: block;
  background: url("data:image/svg+xml,%3Csvg width='42' height='24' viewBox='0 0 42 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L21 21.5L41 1.5' stroke='white' stroke-width='2'/%3E%3C/svg%3E")
    center / contain no-repeat;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
}

.home-guest-card {
  flex: 0 0 min(520px, calc((100vw - 500px) / 2));
  display: grid;
  grid-template-columns: 170px minmax(300px, 1fr);
  gap: 30px;
  align-items: start;
  padding: 0;
}

.home-guest-card__avatar {
  width: 170px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(160deg, #b8a995 0%, #8c7255 48%, #56422f 100%);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
}

.home-guest-card__avatar img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.home-guest-card__stars {
  display: block;
  width: 100%;
  height: 23px;
  max-width: 145px;
  object-fit: contain;
  margin: 0 0 17px;
}

.home-guest-card__text {
  margin: 0 0 18px;
  max-width: 340px;
  font-size: 1.625rem;
  line-height: 1.15;
}

.home-guest-card__name {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.08;
}

.home-guest-card__role {
  display: block;
  font-size: 1rem;
  line-height: 1;
  color: #898989;
}

@media (max-width: 1366px) {
  .home-service-card p,
  .home-conference__content p {
    font-size: 1.25rem;
  }

  .home-guest-card {
    grid-template-columns: 140px minmax(260px, 1fr);
  }

  .home-guest-card__avatar {
    width: 140px;
  }
}

@media (max-width: 920px) {
  .home-main {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .home-guest-card {
    flex-basis: 100%;
    grid-template-columns: 110px 1fr;
    gap: 20px;
  }

  .home-guest-card__avatar {
    width: 110px;
  }
}

@media (max-width: 640px) {
  .home-service-card,
  .home-conference,
  .home-guests {
    height: auto;
    min-height: auto;
  }
}

@media (min-width: 1367px) and (max-width: 1440px) {
  .home-scroll-next {
    margin-top: 51px;
    margin-left: 111px;
  }

  .home-guest-card {
    flex: 0 0 532px;
    width: 532px;
    grid-template-columns: 170px 300px;
    gap: 30px;
  }

  .home-guest-card__text {
    font-size: 26px;
    line-height: 30px;
  }

  .home-guest-card__name {
    font-size: 26px;
    line-height: 28px;
  }
}

@media (min-width: 1025px) {
  .home-hero__inner {
    width: var(--site-content-width);
    max-width: none;
    margin: 0 auto;
  }
}

@media (min-width: 1441px) {
  .home-hero__inner {
    width: var(--site-content-width);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1179px) {
  .home-service-card__title,
  .home-conference__content h2,
  .home-guests__title {
    font-size: clamp(3rem, 4vw, 3.75rem);
  }
}

@media (max-width: 1179px), (hover: none), (pointer: coarse) {
  .home-main {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    scroll-behavior: auto;
    overscroll-behavior-y: auto;
  }

  .home-main.is-free-scroll,
  .home-main.is-story-active {
    scroll-snap-type: none;
  }
}

@media (min-width: 1367px) and (max-width: 1440px) {
  .home-main {
    height: 100svh;
    overflow-y: auto;
    scroll-behavior: smooth;
    overscroll-behavior-y: contain;
  }

  .home-footer-section {
    overflow: hidden;
    background: #1d1d1d;
  }
}

@media (max-width: 1179px) {
  .home-main {
    height: auto;
    overflow: visible;
  }

  .home-guest-card {
    flex-basis: 100%;
  }
}

@media (max-width: 767px) {
  .home-display-subtitle,
  .home-service-card__title,
  .home-conference__content h2,
  .home-guests__title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    line-height: 1.08;
  }

  .home-service-card p,
  .home-conference__content p {
    font-size: 1.0625rem;
    line-height: 1.42;
  }

  .home-guest-card {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 16px;
  }

  .home-guest-card__avatar {
    width: 90px;
  }

  .home-guest-card__text,
  .home-guest-card__name {
    font-size: 1.15rem;
  }
}

@media (min-width: 375px) and (max-width: 767px) {
  .home-hero__inner,
  .home-guests__inner {
    width: min(100vw - 28px, 760px);
  }

  .home-guest-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .home-guest-card__text {
    max-width: none;
  }
}

@media (max-width: 374px) {
  .home-hero__inner,
  .home-guests__inner {
    width: min(100vw - 20px, 760px);
  }

  .home-display-subtitle,
  .home-service-card__title,
  .home-conference__content h2,
  .home-guests__title {
    font-size: 2.25rem;
  }
}

@media (max-width: 1179px) {
  .home-main {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    background: #081412;
  }
}

@media (min-width: 375px) and (max-width: 767px) {
  .home-services__intro .home-display-subtitle {
    margin: 0 0 8px;
    font-size: 50px;
    line-height: 50px;
    letter-spacing: 0;
  }

  .home-guest-card {
    flex: 0 0 100%;
    width: 100%;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    text-align: center;
  }

  .home-guest-card__avatar {
    width: 160px;
    height: 160px;
    margin: 0 0 16px;
    flex: 0 0 160px;
  }

  .home-guest-card__stars {
    width: 145px;
    height: 23px;
    max-width: none;
    margin: 0 auto 18px;
  }

  .home-guest-card__content {
    width: 100%;
  }

  .home-guest-card__text {
    max-width: none;
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 22px;
  }

  .home-guest-card__name {
    margin: 0 0 7px;
    font-size: 22px;
    line-height: 22px;
  }

  .home-guest-card__role {
    font-size: 14px;
    line-height: 14px;
  }
}

@media (min-width: 768px) and (max-width: 1179px) {
  .home-guest-card {
    flex: 0 0 100%;
    width: 100%;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    text-align: center;
  }

  .home-guest-card__avatar {
    width: 160px;
    height: 160px;
    margin: 0 0 16px;
    flex: 0 0 160px;
  }

  .home-guest-card__stars {
    width: 145px;
    height: 23px;
    max-width: none;
    margin: 0 auto 18px;
  }

  .home-guest-card__content {
    width: 100%;
  }

  .home-guest-card__text {
    max-width: none;
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 22px;
  }

  .home-guest-card__name {
    margin: 0 0 7px;
    font-size: 22px;
    line-height: 22px;
  }

  .home-guest-card__role {
    font-size: 14px;
    line-height: 14px;
  }
}

@media (min-width: 901px) and (max-width: 1179px) {
  .home-services__intro .home-display-subtitle {
    font-size: 60px;
    line-height: 50px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .home-services__intro .home-display-subtitle {
    font-size: 60px;
    line-height: 50px;
  }
}
