@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #050914;
  --panel: #0b1426;
  --blue: #2c78e8;
  --blue2: #77b7ff;
  --gold: #d8b66a;
  --text: #f4f2ed;
  --muted: #aab5c8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 0%, #10264a 0%, var(--bg) 48%);
  color: var(--text);
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.7;
}

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

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

/* HEADER */

.site-header {
  min-height: 82px;
  padding: 0 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d8b66a40;
  background: #050914ed;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: .2em;
  font-weight: 700;
}

.brand-mark {
  color: var(--gold);
  font-size: 30px;
  text-shadow: 0 0 18px #428dff;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c6cede;
}

.site-header nav a {
  transition: color .25s ease;
}

.site-header nav a:hover {
  color: var(--gold);
}

.nav-cta {
  border: 1px solid #d8b66a99;
  padding: 10px 15px;
}

/* HERO */

.hero {
  min-height: 720px;
  padding: 95px 22px 110px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
}

.orb-one {
  width: 360px;
  height: 360px;
  background: #1767d526;
  top: 100px;
  left: -130px;
}

.orb-two {
  width: 450px;
  height: 450px;
  background: #d8b66a12;
  right: -190px;
  bottom: 0;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .32em;
  color: var(--gold);
  font-weight: 600;
}

/* LOGO CENTRALE */

.crest {
  width: 112px;
  height: 112px;
  border: 1px solid #d8b66acc;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  margin: 22px 0 30px;
  box-shadow:
    0 0 45px #236cd955,
    inset 0 0 30px #236cd933;
}

.crest span {
  position: absolute;
  top: -25px;
  color: var(--gold);
  font-size: 36px;
}

.crest b {
  font-size: 56px;
  color: #76aaff;
  text-shadow:
    0 0 15px #367eff,
    0 0 35px #367eff;
}

.crest i {
  position: absolute;
  right: -5px;
  bottom: 7px;
  color: var(--gold);
  font-style: normal;
  font-size: 24px;
}

/* TITOLI */

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
}

h1 {
  font-size: clamp(38px, 7vw, 76px);
  letter-spacing: .12em;
  margin: 0;
}

h1 em {
  display: block;
  font-style: normal;
  color: var(--gold);
  font-size: .48em;
  letter-spacing: .28em;
  margin-top: 12px;
}

.tagline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.35;
  color: #e2e8f4;
  margin: 25px 0 32px;
}

/* PULSANTI */

.button {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  padding: 14px 23px;
  background: linear-gradient(110deg, #174c9a, #276fce);
  border: 1px solid #79aef1;
  color: white;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  box-shadow: 0 8px 35px #1b65c544;
  transition: .25s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px #1b65c577;
}

.button span {
  color: var(--gold);
  font-size: 18px;
}

.hero-note {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .1em;
  margin-top: 25px;
}

/* SEZIONI */

.section {
  padding: 100px 8vw;
  text-align: center;
}

.intro {
  background: linear-gradient(
    180deg,
    #0a1425dd,
    #080f1c
  );
}

h2 {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: .08em;
  line-height: 1.1;
  margin: 12px 0 30px;
}

h2 span {
  color: var(--gold);
}

.manifesto {
  max-width: 790px;
  margin: 0 auto;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 3vw, 29px);
  line-height: 1.55;
  color: #dce4f2;
}

.signature {
  margin: 35px auto 0;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .15em;
}

/* STANZE */

.rooms {
  background: #050914;
}

.room-grid {
  max-width: 1050px;
  margin: 45px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
}

.room-card {
  padding: 29px;
  background: linear-gradient(145deg, #101f38, #09111f);
  border: 1px solid #d8b66a45;
  min-height: 180px;
  transition: .25s ease;
  box-shadow: 0 8px 25px #00000030;
}

.room-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px #236cd933;
}

.room-card span {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: .2em;
}

.room-card h3 {
  font-size: 25px;
  margin: 12px 0 4px;
  color: #f4f2ed;
}

.room-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* VALORI E ACCESSO */

.access {
  background: radial-gradient(
    ellipse at center,
    #102448 0%,
    #070d19 70%
  );
}

.access > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 25px;
  color: #c0cad9;
  font-size: 14px;
}

.notice {
  display: inline-block;
  max-width: 100%;
  margin: 8px auto 28px;
  padding: 12px 18px;
  border: 1px solid #d8b66a66;
  color: #e7d5a9;
  font-size: 11px;
  letter-spacing: .04em;
}

.secondary {
  background: transparent;
  border-color: #d8b66a99;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 42px 20px 32px;
  border-top: 1px solid #d8b66a40;
  background: #04070e;
}

.footer-brand {
  color: var(--gold);
  letter-spacing: .22em;
  font-weight: 700;
}

footer p {
  font-size: 10px;
  color: #9ca8bb;
  letter-spacing: .06em;
}

.footer-small {
  opacity: .7;
}

/* SMARTPHONE E TABLET */

@media (max-width: 900px) {

  .site-header {
    padding: 15px 5vw;
    gap: 15px;
  }

  .site-header nav {
    gap: 16px;
  }

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

}

@media (max-width: 600px) {

  html {
    scroll-padding-top: 130px;
  }

  .site-header {
    min-height: 75px;
    padding: 14px 5vw;
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .site-header nav {
    gap: 13px;
    flex-wrap: wrap;
    font-size: 9px;
  }

  .nav-cta {
    padding: 7px 10px;
  }

  .hero {
    min-height: 610px;
    padding: 75px 18px;
  }

  .section {
    padding: 75px 6vw;
  }

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

  .room-card {
    min-height: 0;
  }

  h1 {
    letter-spacing: .06em;
  }

  h1 em {
    letter-spacing: .16em;
  }

  .eyebrow {
    letter-spacing: .2em;
  }

  .signature {
    line-height: 1.8;
  }

}

/* RISPETTO DELLE PREFERENZE DI ACCESSIBILITÀ */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

}
