/* =========================================
   SKI NOW ASSERGI — custom styles
   ========================================= */

:root {
  --ink: #10272c;
  --ink-soft: #254047;
  --paper: #f6f6f1;
  --white: #fff;
  --accent: #18cefd;
  --muted: #9ca9a7;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Montserrat", sans-serif;
  --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--ink); background: var(--accent); }

.site-header {
  height: var(--header-height);
  padding: 0 5.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  color: var(--white);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}
.brand { display: inline-flex; align-items: center; gap: 11px; position: relative; z-index: 42; }
.brand-logo {
  display: block;
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -1.8px;
}
.brand-mark > span { color: var(--accent); }
.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1.4;
}
.brand-name small { font-family: var(--font-body); font-size: 9px; font-weight: 600; letter-spacing: 4px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 39px); }
.desktop-nav a {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .5px;
  transition: color .2s ease;
}
.desktop-nav a:hover { color: var(--accent); }

/* Pulsanti sempre outline */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 178px;
  min-height: 54px;
  padding: 0 19px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .4px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn span { font-size: 16px; transition: transform .25s ease; }
.btn:hover span { transform: translate(3px, -3px); }
.btn-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-dark:hover { background: var(--ink); color: var(--white); }

/* Menu mobile fullscreen */
.menu-toggle { display: none; }
.fullscreen-menu { display: none; }

/* Hero */
.hero { position: relative; min-height: min(850px, 100svh); height: 780px; max-height: 1000px; color: var(--white); background: #24383d; overflow: hidden; }
.hero-slides, .hero-slide, .slide-shade { position: absolute; inset: 0; }

.hero-slide {
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 60px) 11% 100px;
  position: absolute;
  inset: 0;

  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
  isolation: isolate;
}

.hero-slide::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;

  background-image: var(--slide-image);
  background-position: center;
  background-size: cover;

  transform: scale(1.035);
  transition: transform 7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide.is-active::before {
  transform: scale(1);
}

.slide-shade { background: linear-gradient(90deg, rgb(5 21 26 / 76%) 0%, rgb(5 21 26 / 44%) 48%, rgb(5 21 26 / 12%) 100%), linear-gradient(0deg, rgb(5 21 26 / 38%), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(720px, 100%); padding-top: 20px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 27px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.1px;
}
.eyebrow > span { width: 25px; height: 1px; background: currentColor; }
.hero h1, .hero h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(50px, 7.2vw, 102px);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -5px;
}
.hero h1 em, .hero h2 em, .intro h2 em { font-style: normal; color: var(--accent); }
.hero-description { margin: 25px 0 31px; color: rgb(255 255 255 / 82%); font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.slide-index { position: absolute; z-index: 3; right: 5.5%; bottom: 76px; font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.slide-index i { color: rgb(255 255 255 / 55%); font-size: 10px; font-style: normal; }
.hero-bottom {
  position: absolute;
  z-index: 5;
  right: 5.5%;
  bottom: 0;
  left: 5.5%;
  height: 65px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid rgb(255 255 255 / 25%);
}
.hero-bottom > p, .scroll-cue { margin: 0; color: rgb(255 255 255 / 70%); font-size: 9px; font-weight: 700; letter-spacing: 1.7px; }
.slider-dots { display: flex; align-items: center; justify-content: center; gap: 9px; }
.slider-dot { width: 22px; height: 3px; padding: 0; border: 0; background: rgb(255 255 255 / 45%); cursor: pointer; transition: width .25s ease, background .25s ease; }
.slider-dot.is-active { width: 38px; background: var(--accent); }
.scroll-cue { justify-self: end; display: flex; align-items: center; gap: 12px; }
.scroll-cue span { font-size: 16px; color: var(--accent); }

/* Intro */
.section-pad { padding: 115px 8% 125px; }
.intro { text-align: center; }
.eyebrow-dark { justify-content: center; color: #617579; margin-bottom: 25px; }
.intro h2 {
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(31px, 4vw, 53px);
  line-height: 1.22;
  letter-spacing: -1.8px;
}
.intro h2 em { color: #6b8382; }
.intro-copy { max-width: 640px; margin: 26px auto 31px; color: #647477; font-size: 15px; line-height: 1.9; }
.intro-copy strong { color: var(--ink); font-weight: 700; }
.btn-dark { color: var(--ink); }

/* Attività */
.feature-links { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); }
.feature-card { min-height: 460px; position: relative; overflow: hidden; color: var(--white); }
.feature-card + .feature-card { border-left: 1px solid rgb(255 255 255 / 18%); }
.feature-image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .7s ease; }
.feature-card:hover .feature-image { transform: scale(1.045); }
.feature-image-club { background-image: url('img/ski-club-2.jpg'); }
.feature-image-lessons { background-image: url('img/slide-1.jpg'); }
.feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(6 22 27 / 84%), rgb(6 22 27 / 4%) 78%); }
.feature-info { position: absolute; z-index: 1; right: 7%; bottom: 37px; left: 7%; }
.feature-info > span:first-child { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: 1.7px; }
.feature-info h2 { margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 48px); letter-spacing: -1.7px; }
.feature-arrow { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid rgb(255 255 255 / 65%); font-size: 19px; transition: color .2s, background .2s; }
.feature-card:hover .feature-arrow { color: var(--ink); background: var(--accent); border-color: var(--accent); }

/* Footer */
.site-footer { padding: 65px 5.5% 0; color: var(--white); background: var(--ink); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: start; gap: 40px; padding-bottom: 58px; }
.brand-footer { color: var(--white); }
.footer-brand-block > p { margin: 20px 0; color: #a8b6b4; font-size: 12px; }
.social-links { display: flex; gap: 9px; }
.social-links a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #52666a; font-family: Arial, sans-serif; font-size: 19px; font-weight: 700; transition: background .2s, color .2s; }
.social-links a:hover { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.social-links .instagram-icon { font-size: 25px; font-weight: 400; }
.footer-label { margin: 5px 0 20px; color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: 1.8px; }
.footer-contact p:not(.footer-label) { display: flex; gap: 10px; margin: 0 0 13px; color: #d2dbd9; font-size: 12px; }
.contact-symbol { color: var(--accent); }
.footer-contact a:hover { color: var(--accent); }
.back-top { display: flex; align-items: center; gap: 20px; color: #d2dbd9; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.back-top span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #52666a; font-size: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; border-top: 1px solid #344a4f; color: #91a19f; font-size: 9px; letter-spacing: .6px; }





.snow-bulletin {
  padding: 115px 8% 125px;
  background: #fff;
  position: relative;
}

.snow-bulletin::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgb(6 22 27 / 84%), rgb(6 22 27 / 24%) 78%);
}

.snow-bulletin-content {
    z-index: 2;
    position: relative;
	max-width: 1000px;
	margin: auto;
}

.snow-bulletin h2 {
  margin: 0 0 25px;
  color: #fff;
  font-size: 24px;
}

.snow-subtitle {
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
	text-transform: uppercase;
}

.snow-forecast {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.forecast-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 12px 5px;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  background-color: #00000063;
}

.forecast-day > span:first-child {
  color: #fff;
}

.forecast-day strong {
  white-space: nowrap;
}

.weather-icon {
  color: var(--accent);
  font-size: 25px;
}

.forecast-day small {
  color: #ccc;
  font-size: 11px;
}

@media (max-width: 600px) {
  .snow-bulletin {
    padding: 40px 5%;
  }

  .snow-forecast {
    grid-template-columns: repeat(5);
    gap: 7px;
    overflow-x: auto;
  }

  .forecast-day {
    font-size: 11px;
  }
}




/* Responsive */
@media (max-width: 900px) {
  :root { --header-height: 76px; }
  .site-header { padding: 0 6%; }
  .desktop-nav { gap: 15px; }
  .desktop-nav a { font-size: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 11px; }
  .hero-slide { padding-right: 8%; padding-left: 8%; }
  .hero h1, .hero h2 { letter-spacing: -3px; }
  .section-pad { padding: 90px 7% 100px; }
  .feature-card { min-height: 390px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .back-top { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 680px) {
  :root { --header-height: 72px; }
  .site-header { padding: 0 6%; }
  .desktop-nav { display: none; }
  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 65%);
    color: var(--white);
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 42;
  }
  .menu-toggle span { width: 18px; height: 1px; background: currentColor; transition: transform .25s ease; }
  .menu-toggle.is-open { border-color: rgb(255 255 255 / 35%); }
  .menu-toggle.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .fullscreen-menu {
    display: flex;
    position: fixed;
    z-index: 9;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    padding: 95px 8% 45px;
    color: var(--white);
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  }
  body.menu-open .fullscreen-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .fullscreen-menu > a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 0; border-bottom: 1px solid #344a4f; font-family: var(--font-display); font-size: clamp(25px, 7vw, 36px); font-weight: 600; letter-spacing: -1px; }
  .fullscreen-menu > a span { color: var(--accent); font-family: var(--font-body); font-size: 10px; letter-spacing: 1px; }
  .fullscreen-menu > p { margin-top: 35px; color: #a8b6b4; font-size: 12px; }
  .hero { height: 780px; min-height: 690px; max-height: 100svh; }
  .hero-slide { align-items: center; padding: 105px 7% 125px; background-position: 56% center; }
  .slide-shade { background: linear-gradient(90deg, rgb(5 21 26 / 76%), rgb(5 21 26 / 30%)), linear-gradient(0deg, rgb(5 21 26 / 45%), transparent 60%); }
  .hero-content { padding-top: 0; }
  .eyebrow { margin-bottom: 23px; font-size: 9px; letter-spacing: 1.6px; }
  .hero h1, .hero h2 { font-size: clamp(47px, 12vw, 68px); letter-spacing: -2.8px; }
  .hero-description { max-width: 310px; margin: 22px 0 28px; font-size: 13px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 420px; gap: 10px; }
  .btn { width: 100%; min-width: 0; min-height: 52px; }
  .hero-bottom { right: 7%; left: 7%; grid-template-columns: 1fr auto; height: 60px; }
  .hero-bottom > p { display: none; }
  .slider-dots { justify-content: flex-start; }
  .slide-index { right: 7%; bottom: 75px; }
  .scroll-cue { gap: 7px; font-size: 8px; }
  .section-pad { padding: 78px 7% 82px; }
  .intro h2 { font-size: clamp(29px, 8vw, 41px); letter-spacing: -1.3px; }
  .intro-copy { margin: 23px auto 28px; font-size: 14px; }
  .intro .btn { max-width: none; }
  .feature-links { grid-template-columns: 1fr; }
  .feature-card { min-height: 340px; }
  .feature-card + .feature-card { border-top: 1px solid rgb(255 255 255 / 18%); border-left: 0; }
  .feature-info { bottom: 28px; }
  .feature-info h2 { font-size: 36px; }
  .site-footer { padding: 48px 7% 0; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; padding-bottom: 40px; }
  .back-top { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; line-height: 1.5; }
  
	.hero-slide {
	  align-items: flex-end;
	  padding: 105px 7% 180px;
	}

	.hero-slide::before {
	  background-position: 56% center;
	}
	
	.site-footer {
	  padding: 48px 7% 0;
	  text-align: center;
	}

	.footer-main {
	  grid-template-columns: 1fr;
	  justify-items: center;
	  gap: 35px;
	  padding-bottom: 40px;
	}

	.footer-brand-block {
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	}

	.footer-contact p:not(.footer-label) {
	  justify-content: center;
	}
	
	.back-top {
        justify-self: center;
    }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
