@charset "UTF-8";
/**
 * Variables i mixins compartits
 * Constel·lació Gaudí
 */
/* VERMELL

$color-type-contractista: #8B5A8D;
$color-type-gestor: #9B5687;
$color-type-societat: #000000;
$color-type-promotor: #AA5381;
$color-type-entitat: #B8577D;

$color-type-disseny-grafic: #C35576;
$color-type-interiorisme: #CD536F;
$color-type-installacions: #D4516D;
$color-type-historiografia: #DA5866;
$color-type-instruments-musicals: #DF5F5F;
$color-type-restauracio: #E46659;

$color-type-vitralleria: #E87056;
$color-type-escultura: #EB7A53;

$color-type-mobiliari: #E67E5C;
$color-type-tapisseria: #E38450;
$color-type-fusteria: #DF8A45;
$color-type-serralleria: #DB903A;

$color-type-forja: #D8932B;
$color-type-orfebreria: #D49838;
$color-type-metallisteria: #CF9D45;
$color-type-pintura: #CAA152;

$color-type-mestre-obres: #C5A55F;
$color-type-ceramica: #C0A96C;
$color-type-mosaics: #BBAD79;
$color-type-obra-pedra: #B6B186;
$color-type-ram-paleta: #B1B593;
$color-type-default: #6B8E6F;

*/
/*$color-intervention-10: #cabfab;
$color-intervention-15: #e7e7e7;
$color-intervention-40: #c29f8e;
$color-intervention-60: #883108;*/
body.home {
  --color-logo-bg: #f1ede3;
  background: #F7F2E8;
}
body.home.page-exit #primary,
body.home.page-exit .actors-animation,
body.home.page-exit .site-header {
  transition: opacity 0.3s ease;
  opacity: 0;
}
body.home .site-main {
  padding: 0;
  margin: 0;
  max-width: none;
}
body.home .site-nav, body.home .site-nav__toggle {
  display: none;
}
body.home .site-header {
  position: inherit;
}
body.home .site-header .site-data {
  padding: 0;
}
body.home .site-header .site-branding {
  position: absolute;
  bottom: var(--gap);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0;
}
body.home .site-header .site-branding__link {
  aspect-ratio: 1.8;
  background: transparent;
  padding: 0;
}
body.home .site-header .site-branding__logo {
  width: auto;
  height: calc((min(100vw, 100vh) * 0.2 + 8px + var(--gap) * 2) * 0.3);
  max-width: 100%;
}
body.home .site-data {
  padding-bottom: 0;
}
body.home #primary {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  margin-left: calc(-50vw + 50%);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #F7F2E8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
body.home #primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}
body.home .site-page {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0rem;
  text-align: center;
  color: #ffffff;
}
body.home .site-page__content {
  color: #2c3e50;
}
body.home .home-cta-wrapper {
  margin: 0 0 2rem 0;
  text-align: center;
}
body.home .home-cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  font-family: "LL Replica Pro bold Web", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2c3e50;
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}
body.home .home-cta-button:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
body.home .home-cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
body.home .actors-animation {
  position: absolute;
  top: 50%;
  left: 50vw;
  width: calc(min(100vw, 100vh) * 0.2 + 8px + var(--gap) * 2);
  aspect-ratio: 1;
  transform: translate(calc(-100% - var(--gap) * 2), -50%);
  margin: 0;
  z-index: 100;
  opacity: 0;
  transition: opacity 1.5s ease;
}
body.home .actors-animation::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border-radius: 50%;
  border: 1.5px dashed #9d9067;
  box-sizing: border-box;
  animation: actorsArcRotate 40s linear infinite;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
body.home .actors-animation:hover::before, body.home .actors-animation.arc-visible::before {
  opacity: 1;
}
body.home .actors-animation__enter {
  position: absolute;
  top: 0;
  left: 0%;
  z-index: 2;
  width: 100%;
  height: 100%;
  color: #2c3e50;
  border-radius: 50%;
  display: flex;
  background: #f1ede3;
  font-family: "LL Replica Pro bold Web", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  font-size: 1.55rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease, background-color 1s ease-in-out, color 1s ease-in-out;
  align-items: center;
  justify-content: center;
}
body.home .actors-animation:hover .actors-animation__enter {
  opacity: 1;
  pointer-events: auto;
}
body.home .actors-animation:hover .actor-intervention {
  opacity: 0 !important;
}
body.home .frozen-actor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 50%;
  aspect-ratio: 1;
  font-size: 1.395rem;
  line-height: 1;
  pointer-events: none;
  padding: calc(var(--gap) * 1);
  padding-right: calc(var(--gap) * 0.5);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  transition: background-color 1s ease-in-out;
}
body.home .frozen-actor .actor-text-container {
  display: flex;
  flex-direction: column;
}
body.home .frozen-actor .actor-name {
  opacity: 0;
  font-family: "LL Replica Pro bold Web", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: opacity 1s ease-in-out;
  hyphens: none;
}
body.home .frozen-actor .actor-name.visible {
  opacity: 1;
}
body.home .frozen-actor .actor-name .logo-title {
  padding-left: 0.2rem;
  display: block;
  font-family: "LL Replica Pro bold Web", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1em;
  line-height: 1;
  hyphens: none;
  padding-right: calc(var(--gap) * 0.5);
}
body.home .frozen-actor .actor-name .logo-claim {
  display: block;
  padding-left: 0.2rem;
  font-family: "LL Replica Pro Light Web", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8em;
  line-height: 1;
  padding-top: 0.3em;
  hyphens: none;
  word-break: normal;
  padding-right: calc(var(--gap) * 0.5);
}
body.home .frozen-actor .actor-typology {
  opacity: 0;
  font-size: 0.8em;
  padding-bottom: 0.5rem;
  transition: opacity 1s ease-in-out;
}
body.home .frozen-actor .actor-typology.visible {
  opacity: 1;
}
body.home .frozen-actor .actor-intervention {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.4rem;
  opacity: 0;
  color: white !important;
  transition: opacity 1s ease-in-out;
  font-size: 0.8em;
  line-height: 1.1;
  word-break: keep-all;
  overflow-wrap: normal;
}
body.home .frozen-actor .actor-intervention.visible {
  opacity: 1;
}
body.home .frozen-actor .actor-intervention .intervention-date {
  white-space: nowrap;
  display: none;
}
body.home .frases-slider {
  width: 41vw;
  position: absolute;
  left: 0;
  bottom: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
body.home .frases-slider:not(.is-ready) .frases-slider__item.active {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}
body.home .frases-slider__container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.home .frases-slider__item {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  font-size: 2.2rem;
  line-height: 1;
  text-align: left;
  color: var(--frases-text-color, inherit);
}
body.home .frases-slider__item.active {
  opacity: 1;
  visibility: visible;
}
body.home .frases-slider__item strong {
  font-family: "LL Replica Pro bold Web", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.home .frases-slider__item a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s ease;
}
body.home .frases-slider__item a:hover {
  border-bottom-color: #ffffff;
}
body.home .frases-slider__building-title {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  font-size: 4.2rem;
  line-height: 1;
  text-align: left;
  font-family: "LL Replica Pro Light Web", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--frases-text-color, inherit);
}
body.home .frases-slider__building-title.visible {
  opacity: 1;
  visibility: visible;
}
body.home .frases-slider.hide-frases .frases-slider__item.active {
  opacity: 0;
  visibility: hidden;
}
body.home .frases-slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  display: none;
}
body.home .frases-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
body.home .frases-slider__dot:hover {
  background-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}
body.home .frases-slider__dot.active {
  background-color: #ffffff;
  transform: scale(1.3);
}
body.home .frases-slider__dot:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}
body.home .home-bg-credits {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 3;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: "LL Replica Pro Light Web", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.25em 0.5em;
  border-radius: 2px;
}
body.home .home-languages {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
}
body.home .home-languages__lang {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
body.home .home-languages__lang:hover, body.home .home-languages__lang:focus-visible {
  opacity: 1;
}
body.home .home-languages__lang--active {
  opacity: 1;
  pointer-events: none;
}
@media (max-width: 768px) {
  body.home #primary {
    min-height: calc(100vh - 60px);
  }
  body.home .site-page {
    padding: 1.5rem;
  }
  body.home .home-cta-wrapper {
    margin: 0 0 2rem 0;
  }
  body.home .home-cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  body.home .frases-slider {
    margin-top: 2rem;
  }
  body.home .frases-slider__container {
    min-height: 100px;
  }
  body.home .frases-slider__item {
    padding: 0 0.5rem;
  }
  body.home .frases-slider__dots {
    margin-top: 1.5rem;
    gap: 0.5rem;
  }
  body.home .frases-slider__dot {
    width: 10px;
    height: 10px;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  body.home .site-page {
    max-width: 700px;
  }
}

@keyframes actorsArcRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
body:has(.constelacio-edificis-container) #actors-animation,
body:has(.constelacio-edificis-container) #primary {
  display: none !important;
}
