/* =========================================================
   HOTEL CIR — Coming soon
   ========================================================= */

/* ---------- Font locali ---------- */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter_semibold";
  src: url("fonts/Inter_18pt-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter_semibold_italic";
  src: url("fonts/Inter_18pt-SemiBoldItalic.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* ---------- Token ---------- */
:root {
  --ink: #4c4535;
  --ink-soft: #48443b;
  --muted: #48443b;
  --green: #f5eddc;
  --card: #f8f3e9;
  --cream: #fbf7ef;
  --pill: #48443b;
  --line: rgba(27, 28, 24, 0.14);
  --line-soft: rgba(27, 28, 24, 0.08);
  --white: #f5eddc;

  /* spazi fluidi */
  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(3.5rem, 10vw, 10rem);
  --gap: clamp(10px, 2.5vw, 15px);
  --gap-sm: clamp(0.5rem, 1.5vw, 1rem);

  --maxw: 1900px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--green);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

em,
i {
  font-style: italic;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.pt {
  padding-top: var(--section-y);
}

/* ---------- Etichette di sezione (CIR · TITOLO · (0x)) ---------- */
.eyebrow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--gap-sm);
  padding-bottom: clamp(0.75rem, 1.5vw, 1.1rem);
  font-size: clamp(0.68rem, 0.9vw, 0.8rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow>span:nth-child(2) {
  text-align: center;
}

.eyebrow>span:last-child {
  text-align: right;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
  background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;
}




.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transform: scale(1.18);
  will-change: transform; */
}

.hero::after {
  /* velatura per leggibilità */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 24, 18, 0.35) 0%, rgba(20, 24, 18, 0) 28%),
    linear-gradient(0deg, rgba(20, 24, 18, 0.55) 0%, rgba(20, 24, 18, 0) 45%);
}

.hero__top {
  display: flex;
  justify-content: space-between;
  padding-top: clamp(1.25rem, 3vw, 2.25rem);
  font-size: clamp(0.8rem, 0.95vw, 0.9rem);
}

.lang {
  display: flex;
  align-items: center;
  gap: 7px;
  /* width: 100%; */
}

.lang a {
  opacity: 1;
  transition: all 0.2s ease;
  color: black;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 5px 15px;
}

.lang a:hover,
.lang a[aria-current="true"] {
  background-color: rgba(255, 255, 255, 0.6);
}

.lang a[aria-current="true"]::before {
  content: "•";
  margin-right: 0.2em;
}

.hero__body {
  margin-top: auto;
  padding-block: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--gap);
}

.hero__logo {
  width: clamp(230px, 42vw, 720px);
  color: var(--white);
  margin-bottom: clamp(30px, 7rem, 80px);
  display: block;
}

.hero__logo svg {
  width: 100%;
  height: auto;
}

.hero__headline {
  margin: 0;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 5vw, 4rem);
}

.hero__headline em {
  font-style: italic;
}

.hero__intro {
  margin: 0;
  align-self: end;
  max-width: 42ch;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

@media(max-width:768px) {
  .hero__media::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 10;
  }

  .hero__media::after {
    display: none;
  }

  .hero__body {
    margin-bottom: 32vh;
  }

  .lang a {
    background-color: rgba(255, 255, 255, 0.25);
  }
}

/* ---------- Fade-in con stagger (hero) ---------- */
@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__logo,
.hero__headline,
.hero__intro,
.hero__meta {
  opacity: 0;
  animation: hero-fade-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__logo {
  animation-delay: 0.1s;
}

.hero__headline {
  animation-delay: 0.3s;
}

.hero__intro {
  animation-delay: 0.5s;
}

.hero__meta {
  animation-delay: 0.7s;
}

.hero__intro strong {
  font-weight: 400;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(0.75rem, 3vw, 3rem);
  padding-block: clamp(1rem, 2vw, 1.5rem);
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__meta__line {
  height: clamp(0.68rem, 0.9vw, 0.82rem);
  width: 1px;
  background-color: white;
  display: none;
}

.hero__meta span {
  position: relative;
}

@media(max-width:600px) {
  .hero__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero__meta__line {
    display: none;
  }

  .hero__logo {
    color: var(--white);
    margin-bottom: 30px;
  }
}

p {
  line-height: 150%;
}

/* =========================================================
   SEZIONE 01 — Intro
   ========================================================= */
.intro {
  background: var(--green);
}

.intro__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  padding-top: 0;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: clamp(10px, 1vw, 18px);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 6vw, 6rem);
  min-height: clamp(320px, 34vw, 480px);
}

.panel h2 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.panel__foot {
  margin-top: auto;
}

.panel__foot p {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
}

.panel__text {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.panel__text p {
  margin: 0;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
}

p strong {
  font-family: "Inter_semibold";
}

/* Pill / bottone email */
.pill {
  align-self: flex-end;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: clamp(0.5rem, 1vw, 0.65rem) clamp(1.3rem, 2vw, 2rem);
  background: var(--pill);
  color: var(--white);
  border-radius: 999px;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
}


.pill svg {
  width: 0.75em;
  height: 0.75em;
}


@media(max-width:600px) {
  .panel {
    min-height: auto;
  }
}

/* =========================================================
   SEZIONE 02 — Storia / slider
   ========================================================= */
.story {
  background: var(--green);
}

.story__head {
  padding-top: var(--section-y);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.story__head h2 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.story__head h2 em {}


.story__slider .swiper {
  padding-left: max(var(--pad-x), calc((100% - var(--maxw)) / 2 + var(--pad-x)));
  padding-right: var(--pad-x);
}

.container_controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(1rem, 2vw, 1.5rem);

}

/* Swiper: slide vincolate in proporzione (3:2) */
.swiper {
  overflow: hidden;
}

.story .swiper-slide {
  width: auto;
  border-radius: clamp(8px, 0.8vw, 14px);
  overflow: hidden;
  background: #d8ddd2;
}

.story .swiper-slide img {
  height: clamp(450px, 60vh, 800px);
  width: auto;
  display: block;
  /* filter: grayscale(1) contrast(1.02); */
}


@media(max-width:600px) {
  .story .swiper-slide img {
    height: clamp(400px, 50vh, 500px);
  }
}

.container_controls {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

/* Frecce di navigazione */
.story__nav {
  display: flex;
  flex-shrink: 0;
  gap: clamp(0.4rem, 1vw, 0.55rem);
}

/* Progress bar dello slider */
.swiper_pagination.swiper-pagination-progressbar {
  --swiper-pagination-progressbar-size: 1px;
  --swiper-pagination-progressbar-bg-color: var(--line);
  --swiper-pagination-color: var(--ink);
  position: relative;
  flex: none;
  width: 100px;
  left: auto;
  top: auto;
  border-radius: 999px;
  overflow: hidden;
}

.story__nav button {
  width: clamp(2.5rem, 3.5vw, 3.25rem);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.story__nav button:hover {
  background: var(--pill);
  color: var(--white);
  border-color: var(--pill);
}

.story__nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.story__nav button:disabled:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

/* =========================================================
   SEZIONE 03 — Highlights
   ========================================================= */
.highlights {
  background: var(--green);
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  padding-bottom: var(--section-y);
}

.hl {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8vw, 7rem);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: clamp(10px, 1vw, 18px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.hl h3 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  line-height: 1.15;
}

.hl p {
  margin: 0;
  margin-top: auto;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  color: var(--ink-soft);
}

.text-balance {
  text-wrap: balance;
}


/* =========================================================
   OUTRO
   ========================================================= */
.outro {
  background: var(--cream);
}

.citazione {
  display: inline-block;
  font-size: 1.2em;
}

.outro__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
  padding-block: var(--section-y);
}

.outro__grid--footer {
  padding-bottom: 0;
}

.outro h2 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.outro h2 em {
  display: inline;
  font-style: italic;
}

.outro p {
  margin: 0;
  align-self: end;
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  color: var(--ink-soft);
}


@media(max-width:600px) {
  #outro-title {
    margin-bottom: 30px;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--cream);
}

footer .footer__meta a {
  text-decoration: underline;
}

.footer__inner {
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  font-size: clamp(0.75rem, 0.9vw, 0.9rem);
  letter-spacing: 0.06em;
  /* text-transform: uppercase; */
  color: var(--muted);
}

.footer__inner .footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding-top: clamp(20px, 4rem, 30px);
}

.footer_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.footer__logo {
  width: clamp(120px, 12vw, 170px);
  color: var(--ink);
}

.footer__logo svg {
  width: 100%;
  height: auto;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 2rem);
  margin-left: auto;
  align-items: center;
}

.footer .pill {
  align-self: center;
  margin: 0;
  padding: clamp(0.5rem, 0.9vw, 0.7rem) clamp(0.9rem, 1.4vw, 1.25rem);
  text-transform: none;
  letter-spacing: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero__body {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero__intro {
    max-width: none;
  }

  .intro__grid {
    grid-template-columns: 1fr;
  }

  .highlights__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .outro__grid {
    grid-template-columns: 1fr;
  }

  .footer__meta {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .highlights__grid {
    grid-template-columns: 1fr;
  }

  .hero__meta {
    gap: 0.75rem 1.5rem;
  }
}

/* Accessibilità: riduci movimento */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }

  .hero__logo,
  .hero__headline,
  .hero__intro,
  .hero__meta {
    opacity: 1;
    animation: none !important;
    transform: none !important;
  }
}

/* Focus visibile */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.cir_winter {
  margin-top: clamp(30px, 5vh, 50px);
  overflow: clip;
      border-radius: clamp(8px, 0.8vw, 14px);
      aspect-ratio: 16/7;
}

.cir_winter.cir_winter--footer {
    aspect-ratio: 16/9;
}

.cir_winter img {
height: 100%;
width: 100%;
object-fit: cover;
}

.spacer {
 height: clamp(30px, 5vh, 50px); 
}