:root {
  --hero-height: min(100vh, 1000px);
  --hero-max-width: 1200px;

  --nav-color: rgba(255, 255, 255, 0.98);
  --nav-muted: rgba(255, 255, 255, 0.92);
  --nav-active: #f4a321;

  --dot: rgba(255, 255, 255, 0.55);
  --dot-active: rgba(255, 255, 255, 0.95);

  --safe-pad: clamp(14px, 2.2vw, 24px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4c38b;
}


.hero {
  position: relative;
  width: 100%;
  height: var(--hero-height);
  overflow: hidden;
}


.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-slide {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  transform: scale(1.03);
  transition: opacity 600ms ease, transform 900ms ease;
}

.hero__bg-slide.is-active {
  opacity: 1;
  transform: scale(1.01);
}


.hero__bg-slide--1 {
  background-image: url("../assets/images/IMGs/CAROUSEL/imitat-LDaeunl3Vac-unsplash-copy.webp");
}


.hero__bg-slide--2 {
  background-image: url("../assets/images/IMGs/CAROUSEL/Loyola_Group.webp");
}

.hero__bg-slide--3 {
  background-image: url("../assets/images/IMGs/CAROUSEL/carrousel-3.jpg");
}

.hero__bg-slide--4 {
  background-image: url("../assets/images/IMGs/CAROUSEL/carrousel-4.jpeg");
}

.hero__bg-slide--5 {
  background-image: url("../assets/images/IMGs/CAROUSEL/carrousel-5.webp");
}

.hero__bg-slide--6 {
  background-image: url("../assets/images/IMGs/CAROUSEL/carrousel-6.jpeg");
}

.hero__bg-slide--7 {
  background-image: url("../assets/images/IMGs/CAROUSEL/carrousel-7.JPG");
}

.hero__bg-slide--8 {
  background-image: url("../assets/images/IMGs/CAROUSEL/carrousel-8.jpeg");
}

.hero__top {
  position: relative;
  z-index: 50;
  width: 100%;
  padding: var(--safe-pad);

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.22),
    rgba(0, 0, 0, 0.0)
  );
}

.hero__top-inner {
  max-width: var(--hero-max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

/*Brand*/
.hero__brand {
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
}

.hero__brand-logo {
  width: clamp(380px, 40vw, 520px);
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.1));
}

.hero__nav {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;   
  z-index: 9999; 
  padding: 10px 20px;
  
  background: rgba(0, 0, 0, 0); 
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  backdrop-filter: blur(0);
}

.hero__nav.scrolled {
background: linear-gradient(
  180deg,
  rgba(0, 0, 0, 0.28) 0%,
  rgba(0, 0, 0, 0.12) 100%
);
  backdrop-filter: blur(10px);  
}

.hero__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(18px, 2.2vw, 28px);
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.hero__nav-link {
  display: inline-block;
  padding: 10px 6px;
  text-decoration: none;
  color: var(--nav-muted);

  font-size: 13px;
  letter-spacing: 0.10em;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;

  border-bottom: 3px solid transparent;
}

.hero__nav-link:hover {
  color: var(--nav-color);
}

.hero__nav-link--active {
  color: var(--nav-color);
  border-bottom-color: transparent;
}

.hero__dots {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
}

.hero__dot {
  appearance: none;
  border: 0;
  cursor: pointer;

  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--dot);

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 150ms ease, background 150ms ease;
}

.hero__dot:hover {
  transform: scale(1.08);
}

.hero__dot--active {
  background: var(--dot-active);
}


.hero__nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hero__nav-btn {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 12px;
}

.hero__nav-icon,
.hero__nav-icon::before,
.hero__nav-icon::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  position: relative;
}

.hero__nav-icon::before {
  position: absolute;
  top: -8px;
  left: 0;
}

.hero__nav-icon::after {
  position: absolute;
  top: 8px;
  left: 0;
}

@media (max-width: 760px) {
  .hero__brand-logo {
    width: clamp(250px, 58vw, 360px);
  }

  .hero__nav-btn {
    display: inline-flex;
    position: fixed;
    top: var(--safe-pad);
    right: var(--safe-pad);
    z-index: 10000;
  }

  .hero__nav {
    position: fixed;
    right: var(--safe-pad);
    top: calc(var(--safe-pad) + 52px);
    width: min(340px, calc(100% - (var(--safe-pad) * 2)));
    background: rgba(10, 14, 20, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 10px 12px;
    display: none;
    margin-top: 0;
    z-index: 9999;
  }

  .hero__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero__nav-link {
    font-size: 13px;
    padding: 12px 8px;
    width: 100%;
  }

  .hero__nav-toggle:checked ~ .hero__nav {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero__dots {
    bottom: 10px;
  }
}
.hero__nav-link {
  position: relative;

  text-decoration: none;  
  padding-bottom: 6px;
}

.hero__nav-link::after {
  content: "";
  background: gold;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.hero__nav-link--active::after {
  transform: scaleX(1);
}
.hero__nav-link::after {
  background-color: #c9a24d !important;
}

