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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blu:  #264776;
  --rosa: #E167AB;
  --bianco: #ffffff;
  --grigio: #f5f5f3;
  --fs-small: 11px;
  --fs-body: clamp(15.5px, 1.7vw, 17.5px);
  --fs-heading: clamp(1.7rem, 3.2vw, 2.1rem);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: #222;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ── LABEL ── */
.label {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rosa);
  margin-bottom: 12px;
}

/* ── DIVISORE ── */
.divider {
  width: 40px;
  height: 2px;
  background: var(--rosa);
  margin: 0 auto 24px;
}

/* ── TITOLI ── */
h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
}

h1 span { color: var(--rosa); }

h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--blu);
  line-height: 1.2;
  margin-bottom: 24px;
}

/* ── TESTO ── */
p {
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.9;
  color: #444;
  max-width: 680px;
  margin: 0 auto 18px;
}

p b { font-weight: 600; color: var(--blu); }

/* ── SEZIONI ── */
.section { padding: 88px 10%; text-align: center; }
.section--white { background: var(--bianco); }
.section--grey  { background: var(--grigio); }
.section--dark  { background: var(--blu); }
.section--dark h2  { color: #fff; }
.section--dark p   { color: rgba(255,255,255,0.8); }
.section--dark p b { color: #fff; font-weight: 600; }

/* ── HERO ── */
.hero {
  background: var(--blu);
  padding: 110px 10% 90px;
  text-align: center;
}
.hero p { color: rgba(255,255,255,0.8); max-width: 680px; }
.hero p b { color: #fff; font-weight: 600; }

/* ── TOUR WRAPPER ── */
.tour-wrap { max-width: 920px; margin: 48px auto 0; }
.tour-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 8px 48px rgba(38,71,118,0.14);
}
.tour-ratio iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── FULLSCREEN BTN ── */
.fullscreen-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rosa);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.fullscreen-btn:hover { opacity: 1; }
.fullscreen-btn kbd {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--rosa);
  border: 1px solid var(--rosa);
  border-radius: 3px;
  padding: 1px 5px;
}
.fullscreen-btn svg {
  width: 14px; height: 14px;
  stroke: var(--rosa); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ── LINKS ── */
.ext-link {
  display: inline-block;
  margin-top: 20px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--rosa);
  text-decoration: none;
  border-bottom: 1px solid var(--rosa);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.ext-link:hover { opacity: 0.65; }

.ext-link--large {
  display: inline-block;
  margin-top: 20px;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rosa);
  text-decoration: none;
  border-bottom: 2px solid var(--rosa);
  padding-bottom: 3px;
  transition: opacity 0.2s;
}
.ext-link--large:hover { opacity: 0.65; }

.btn-mobile { display: none; }
.btn-desktop { display: inline; }

/* ── NAV ── */
.site-nav {
  background: var(--blu);
  padding: 18px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: rgba(255,255,255,0.95); }
.nav-links a.active {
  color: #fff;
  border-bottom: 1px solid var(--rosa);
  padding-bottom: 4px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.lang-switch:hover { color: rgba(255,255,255,0.9); }
.lang-switch .flag { font-size: 13px; }

/* ── FOOTER ── */
.site-footer {
  background: #1a3454;
  padding: 32px 6%;
  text-align: center;
}
.site-footer p {
  font-size: var(--fs-small);
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  margin: 0 0 20px;
  max-width: none;
}
.site-footer a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: opacity 0.2s;
}
.site-footer a:hover { opacity: 0.8; }
.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s;
}
.footer-logo-item:hover { opacity: 0.8; }
.footer-logo-item img {
  height: 56px;
  width: auto;
  display: block;
}
.footer-logo-item span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,1);
  text-align: center;
}

/* ── CTA BUTTON ── */
.cta-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 32px;
  border: 1px solid var(--rosa);
  border-radius: 2px;
  color: var(--rosa);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}
.cta-btn:hover { background: var(--rosa); color: #fff; }

/* ── HOME PAGE ── */
.home-hero {
  background: var(--blu);
  padding: 56px 6% 0;
  text-align: center;
}

/* HOME TITLE — opzione A: DM Sans bold grande + Cormorant corsivo */
.home-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.home-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--rosa);
  line-height: 1.4;
  max-width: 540px;
  margin: 0 auto 36px;
  letter-spacing: 0.01em;
}

.home-tour-wrap { max-width: 1100px; margin: 0 auto; }
.home-tour-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 8px 56px rgba(38,71,118,0.18);
}
.home-tour-ratio iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.caption-box {
  background: var(--blu);
  padding: 18px 6% 64px;
  text-align: center;
}
.caption-box .caption {
  font-size: var(--fs-body);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 18px auto 0;
}
.caption-box .caption b { font-weight: 600; color: #fff; font-style: normal; }

.discover { background: #fff; padding: 56px 6%; text-align: center; }
.discover h2 { margin-bottom: 18px; }
.discover p { color: #444; }
.discover p b { color: var(--blu); font-weight: 600; }
.discover p a { text-decoration: none; border-bottom: 1px solid var(--rosa); transition: opacity 0.2s; }
.discover p a:hover { opacity: 0.65; }

/* ── CREDITS ── */
.credits-section { background: #fff; padding: 88px 6%; text-align: center; }
.credits-intro { max-width: 620px; margin: 0 auto 44px; }
.credits-intro .logo-box { width: 150px; margin: 0 auto 28px; }
.credits-intro .logo-box img { width: 100%; display: block; }
.credits-intro p { color: #444; }
.credits-intro p b { color: var(--blu); font-weight: 600; }
.credit-list { max-width: 640px; margin: 0 auto; text-align: left; }
.credit-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(38,71,118,0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.credit-name { font-size: var(--fs-body); font-weight: 600; color: var(--blu); flex: 0 0 auto; }
.credit-name a { color: var(--blu); text-decoration: none; border-bottom: 1px solid var(--rosa); transition: opacity 0.2s; }
.credit-name a:hover { opacity: 0.65; }
.credit-role { font-size: var(--fs-body); font-weight: 400; color: #666; text-align: right; flex: 1; }
.credit-role .memory { display: block; font-size: var(--fs-small); color: var(--rosa); font-style: italic; font-weight: 600; margin-top: 2px; }

/* ── PHOTOS & QUOTES ── */
.photo-wide { max-width: 600px; margin: 34px auto; }
.photo-wide img { width: 100%; display: block; border-radius: 4px; box-shadow: 0 10px 36px rgba(38,71,118,0.16); }

.two-col-photo { display: flex; gap: 36px; align-items: center; max-width: 700px; margin: 34px auto; text-align: left; }
.two-col-photo.rev { flex-direction: row-reverse; }
.two-col-photo .col-photo { flex: 0 0 240px; }
.two-col-photo .col-photo img { width: 100%; display: block; border-radius: 4px; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 8px 28px rgba(38,71,118,0.14); }
.two-col-photo .col-text { flex: 1; }
.two-col-photo .col-text p { margin: 0; }

/* ── SLIDESHOW ── */
.slideshow {
  max-width: 400px;
  margin: 34px auto;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 36px rgba(38,71,118,0.16);
}
.slideshow-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slideshow-track img {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  object-fit: cover;
}
.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(38,71,118,0.7);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.slideshow-btn:hover { background: var(--rosa); }
.slideshow-btn.prev { left: 10px; }
.slideshow-btn.next { right: 10px; }
.slideshow-dots {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.slideshow-dots .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}
.slideshow-dots .dot.active { background: var(--rosa); }

/* ── PULL QUOTE ── */
.pull-quote { max-width: 600px; margin: 34px auto; }
.pull-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-heading);
  font-weight: 600;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--blu);
  line-height: 1.35;
  max-width: 600px;
}
.section--dark .pull-quote p { color: #fff; }
.pull-quote .mark { color: var(--rosa); }


/* ── BODY TEXT LINKS (PartArt4OW, Minka, ecc.) ── */
.section p a,
.hero p a,
.caption-box p a,
.credits-intro p a {
  color: var(--rosa);
  text-decoration: none;
  border-bottom: 1px solid var(--rosa);
  transition: opacity 0.2s;
}
.section p a:hover,
.hero p a:hover,
.caption-box p a:hover,
.credits-intro p a:hover { opacity: 0.65; }
.section p a b,
.credits-intro p a b { color: var(--rosa); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --fs-heading: clamp(1.5rem, 5vw, 1.85rem); }
  .btn-mobile { display: inline; }
  .btn-desktop { display: none; }
  .section { padding: 64px 6%; }
  .hero     { padding: 80px 6% 64px; }
  .tour-wrap { max-width: 100%; }
  .tour-ratio { padding-bottom: 125%; }
  .home-tour-ratio { padding-bottom: 125%; }
  .site-nav { padding: 14px 6%; flex-wrap: wrap; gap: 10px; }
  .nav-links { gap: 18px; }
  .credit-item { flex-direction: column; gap: 4px; }
  .credit-role { text-align: left; }
  .two-col-photo { flex-direction: column; }
  .two-col-photo.rev { flex-direction: column; }
  .two-col-photo .col-photo { flex: 0 0 auto; max-width: 220px; margin: 0 auto; }
  .pull-quote p { line-height: 1.3; }
  .footer-logos { gap: 24px; }
}

@media (max-width: 480px) {
  :root { --fs-heading: clamp(1.35rem, 6vw, 1.6rem); }
  .section { padding: 52px 5%; }
  .hero     { padding: 64px 5% 52px; }
  .home-hero h1 { font-size: 2.2rem; }
  .home-subtitle { font-size: 1.1rem; }
}
