/* Snowytrees site chrome — header & footer redesign */

/* ── Header ── */
.navbar-component.st-chrome-nav {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  min-height: 4.5rem;
  padding-left: clamp(1rem, 4vw, 5%);
  padding-right: clamp(1rem, 4vw, 5%);
}

.st-chrome-nav .navbar-logo {
  padding-bottom: 0;
  max-height: 2.75rem;
  width: auto;
}

.st-chrome-nav .navbar-link,
.st-chrome-nav .dropdown-toggle .navbar-link {
  color: #1a1a1a;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  border-bottom-color: transparent;
}

.st-chrome-nav .navbar-link:hover,
.st-chrome-nav .dropdown-toggle .navbar-link:hover {
  color: #006459;
  border-bottom-color: #006459;
}

.st-chrome-nav .navbar-link.w--current,
.st-chrome-nav .dropdown-toggle .navbar-link.w--current {
  color: #006459;
  border-bottom-color: #006459;
  font-weight: 600;
}

.st-chrome-nav .dropdown-list-left-shift {
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  margin-top: 0;
  min-width: 14rem;
}

/* Invisible bridge so the menu stays open while moving from toggle to links */
.st-chrome-nav .dropdown-list-left-shift::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 0.75rem;
}

.st-chrome-nav .dropdown-list-left-shift.w--open {
  background: #fff;
}

.st-chrome-nav .navbar-link-dd {
  color: #1a1a1a;
  padding: 0.625rem 1.25rem;
  border-bottom: none;
  text-align: left;
}

.st-chrome-nav .navbar-link-dd:hover {
  background: #f4f8f7;
  color: #006459;
}

.st-chrome-nav .navbar-link-dd.w--current {
  color: #006459;
  font-weight: 600;
}

/* Hamburger always visible on white chrome (beats Webflow white-on-hero rules) */
.st-chrome-nav .menu-icon-line-top,
.st-chrome-nav .menu-icon-line-middle,
.st-chrome-nav .menu-icon-line-bottom {
  background-color: #1a1a1a !important;
}

.st-chrome-nav .navbar-menu-button {
  z-index: 1001;
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border-radius: 0.5rem;
}

.st-chrome-nav .navbar-menu-button.w--open {
  background: transparent !important;
}

@media screen and (max-width: 991px) {
  .st-chrome-nav.navbar-component {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
    background: #fff !important;
    margin-bottom: 0 !important;
    z-index: 1000;
  }

  /* Reserve space so content isn't hidden under the fixed header */
  body {
    padding-top: 4.5rem;
  }

  .st-chrome-nav .navbar-menu-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Always in the viewport — absolute overlay disappears when scrolled */
  .st-chrome-nav .w-nav-overlay {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 4.5rem !important;
    bottom: auto !important;
    z-index: 999;
    width: 100% !important;
    height: calc(100dvh - 4.5rem) !important;
    max-height: calc(100dvh - 4.5rem) !important;
    overflow: hidden;
    background: #fff;
    transform: none !important;
  }

  /* Beat Webflow IX inline black background */
  .st-chrome-nav .navbar-menu,
  .st-chrome-nav .navbar-menu.is-page-height-tablet,
  .st-chrome-nav .w-nav-menu[data-nav-menu-open] {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    color: #1a1a1a !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: 100% !important;
    padding: 0.75rem 1.25rem 2.5rem !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-flow: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0;
    grid-row-gap: 0;
    border-bottom: none !important;
    transform: none !important;
  }

  .st-chrome-nav .navbar-menu > .navbar-link,
  .st-chrome-nav .navbar-menu > .dropdown {
    width: 100%;
    max-width: none !important;
  }

  .st-chrome-nav .navbar-link,
  .st-chrome-nav .dropdown-toggle .navbar-link {
    display: block;
    width: 100% !important;
    max-width: none !important;
    font-size: 1.0625rem;
    font-weight: 600;
    padding: 0.9rem 0;
    text-align: left !important;
    color: #1a1a1a !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .st-chrome-nav .navbar-link.w--current,
  .st-chrome-nav .dropdown-toggle .navbar-link.w--current {
    color: #006459 !important;
  }

  .st-chrome-nav .dropdown {
    width: 100%;
  }

  .st-chrome-nav .dropdown-toggle,
  .st-chrome-nav .dropdown-toggle.w--open {
    display: block !important;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: flex-start !important;
  }

  /* Always show submenu links on mobile — hover dropdowns are unusable */
  .st-chrome-nav .dropdown-list-left-shift,
  .st-chrome-nav .dropdown-list-left-shift.w--open,
  .st-chrome-nav .w-dropdown-list {
    display: block !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 0.65rem 0.85rem !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .st-chrome-nav .dropdown-list-left-shift::before {
    display: none;
  }

  .st-chrome-nav .navbar-link-dd,
  .st-chrome-nav .w-dropdown-link {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    float: none !important;
    color: #3d4a46 !important;
    padding: 0.55rem 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 500;
    line-height: 1.35;
    text-align: left !important;
    background: transparent !important;
    border-bottom: none !important;
  }

  .st-chrome-nav .navbar-link-dd:hover,
  .st-chrome-nav .w-dropdown-link:hover {
    color: #006459 !important;
    background: transparent !important;
  }

  body.st-nav-open {
    overflow: hidden;
    /* position:fixed lock is applied in JS so sticky/fixed header stays visible mid-scroll */
  }
}

/* ── Footer ── */
.footer-component.st-chrome-footer {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
}

.st-chrome-footer .st-footer-main {
  padding: 3.5rem 0 2.5rem;
}

.st-chrome-footer .st-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem 2rem;
  align-items: start;
}

.st-chrome-footer .st-footer-logo {
  max-width: 9rem;
  height: auto;
  margin-bottom: 1rem;
}

.st-chrome-footer .st-footer-tagline {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 18rem;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
}

.st-chrome-footer .st-footer-heading {
  color: #fff;
  font-family: "Libre Franklin", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.st-chrome-footer .st-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.st-chrome-footer .st-footer-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.st-chrome-footer .st-footer-link:hover,
.st-chrome-footer .st-footer-link.w--current {
  color: #fff;
}

.st-chrome-footer .st-footer-contact p {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.st-chrome-footer .st-footer-contact a {
  color: #fff;
  text-decoration: none;
}

.st-chrome-footer .st-footer-contact a:hover {
  text-decoration: underline;
}

.st-chrome-footer .st-footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.st-chrome-footer .st-footer-social:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.st-chrome-footer .st-footer-social svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

.st-chrome-footer .st-footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
}

.st-chrome-footer .st-footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.st-chrome-footer .st-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.st-chrome-footer .st-footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.st-chrome-footer .st-footer-legal a:hover {
  color: #fff;
}

@media screen and (max-width: 991px) {
  .st-chrome-footer .st-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .st-chrome-footer .st-footer-brand {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 479px) {
  .st-chrome-footer .st-footer-grid {
    grid-template-columns: 1fr;
  }

  .st-chrome-footer .st-footer-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Contact form */
.st-contact-intro {
  margin: 0 0 1.25rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-form .form-input.is-text-area {
  min-height: 6.5rem;
  resize: vertical;
}

.st-chalet-video .padding-section-medium {
  padding-top: 1.5rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.st-chalet-video__frame {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  background: #0f1f1c;
  box-shadow: 0 24px 60px -36px rgba(0, 38, 34, 0.45);
}

.st-chalet-video__frame video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Prices landing */
.st-prices-hero {
  position: relative;
  isolation: isolate;
  min-height: min(72vh, 38rem);
  display: flex;
  align-items: flex-end;
  color: #f6f3ee;
  overflow: hidden;
}

.st-prices-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/images/ferme-12.jpg") center / cover no-repeat;
  transform: scale(1.04);
}

.st-prices-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 22, 20, 0.35) 0%, rgba(8, 22, 20, 0.72) 55%, rgba(8, 22, 20, 0.9) 100%);
}

.st-prices-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 8rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
}

.st-prices-kicker {
  margin: 0 0 0.65rem;
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9fd5cb;
}

.st-prices-title {
  margin: 0 0 0.85rem;
  font-family: Prata, Georgia, serif;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.st-prices-lead {
  margin: 0;
  max-width: 34rem;
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.55;
  color: rgba(246, 243, 238, 0.82);
}

.st-prices-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.st-prices-intro {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  background: #f3f7f6;
}

.st-prices-h2 {
  margin: 0 0 0.75rem;
  font-family: Prata, Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.st-prices-copy {
  margin: 0;
  max-width: 40rem;
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #595959;
}

.st-prices-seasons {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background: #f3f7f6;
}

.st-prices-seasons__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.st-prices-season {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 26rem;
  overflow: hidden;
  border-radius: 1.15rem;
  text-decoration: none;
  color: #f6f3ee;
  box-shadow: 0 24px 60px -36px rgba(0, 38, 34, 0.45);
}

.st-prices-season__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.st-prices-season__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}

.st-prices-season:hover .st-prices-season__bg video {
  transform: scale(1.06);
}

.st-prices-season__body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.75rem 1.5rem 1.65rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 22, 20, 0.88) 55%);
}

.st-prices-season__label {
  margin: 0 0 0.4rem;
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fd5cb;
}

.st-prices-season__title {
  margin: 0 0 0.55rem;
  font-family: Prata, Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.st-prices-season__text {
  margin: 0 0 1rem;
  max-width: 26rem;
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(246, 243, 238, 0.82);
}

.st-prices-season__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 650;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.1rem;
  transition: border-color 0.2s ease;
}

.st-prices-season:hover .st-prices-season__cta {
  border-bottom-color: #fff;
}

/* Hero CTA on winter/summer pricing pages — jump to availability */
.st-hero-dates-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: #10221f;
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.55);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.st-hero-dates-btn::before {
  content: "▾";
  font-size: 0.75rem;
  line-height: 1;
}

.st-hero-dates-btn:hover {
  background: #006459;
  color: #fff;
  transform: translateY(-1px);
}

.st-hero-dates-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.st-prices-note {
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
  background: #f3f7f6;
}

.st-prices-note p {
  margin: 0;
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-size: 0.95rem;
  color: #595959;
}

.st-prices-note a {
  color: #006459;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 100, 89, 0.35);
}

.st-prices-note a:hover {
  border-bottom-color: #006459;
}

@media (prefers-reduced-motion: reduce) {
  .st-prices-season__bg video {
    transition: none;
  }
}

@media screen and (max-width: 767px) {
  .st-prices-seasons__grid {
    grid-template-columns: 1fr;
  }

  .st-prices-season {
    min-height: 22rem;
  }
}

/* ── Site-wide mobile polish ── */
html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

@media screen and (max-width: 767px) {
  .heading-style-display,
  .heading-style-display.text-color-secondary,
  .heading-style-display.text-color-secondary strong {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    max-width: 100%;
  }

  .hero-header-content,
  .hero-header-content-wrapper,
  .padding-global {
    max-width: 100%;
  }

  .st-chalet-video__frame {
    border-radius: 0.75rem;
  }

  .contact-form .form-input,
  .contact-form .w-input,
  .contact-form .w-select {
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  .st-prices-hero {
    min-height: min(68vh, 32rem);
  }

  .st-prices-title {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }
}

@media screen and (max-width: 479px) {
  .navbar-component.st-chrome-nav {
    min-height: 4rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .st-chrome-nav .navbar-logo {
    max-height: 2.35rem;
  }

  body {
    padding-top: 4rem;
  }

  .st-chrome-nav .w-nav-overlay {
    top: 4rem !important;
    height: calc(100dvh - 4rem) !important;
    max-height: calc(100dvh - 4rem) !important;
    bottom: auto !important;
  }
}
