@import url("https://fonts.googleapis.com/css2?family=Wix+Madefor+Display:wght@400..800&family=Wix+Madefor+Text:ital,wght@0,400..800;1,400..800&display=swap");
:root {
  --bgSite: #F4F8F9;
  --textLight: #F4F8F9;
  --colorPrimary: #7402FF;
  --textColor: #191028;
  --colorBorder: #CCD2D9;
  --bgDark: #101124;
}

body {
  background-color: var(--bgSite);
  font-size: 16px;
  font-family: "Wix Madefor Text", sans-serif;
  color: var(--textColor);
}

::selection {
  background-color: var(--colorPrimary);
  color: var(--textLight);
}

.wrapper {
  max-width: 1180px;
  padding-inline: 16px;
  margin-inline: auto;
}
.wrapper.wrapper--small {
  max-width: 560px;
}
.wrapper.wrapper--medium {
  max-width: 1320px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Wix Madefor Display", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.home h2 {
  font-size: 46px;
  margin: 24px 0;
}
@media screen and (max-width: 800px) {
  .home h2 {
    font-size: 32px;
  }
}

a:is(:hover, :focus, :active) {
  color: var(--colorPrimary);
}

ul {
  margin: 0;
  padding-left: 20px;
}

@media screen and (max-width: 900px) {
  .desktop-only {
    display: none !important;
  }
}

.button {
  display: inline-block;
  background-color: var(--colorPrimary);
  color: var(--textLight);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  width: fit-content;
  white-space: nowrap;
  border-radius: 50px;
  line-height: 1;
  height: fit-content;
  padding: 12px 16px;
  border: none;
  cursor: pointer;
}
.button:is(:hover, :focus, :active) {
  color: var(--textLight);
}
.button.button--large {
  padding: 16px 24px;
}
.button.button--black {
  background-color: #191028;
  color: var(--textLight);
}

.flex-container {
  display: flex;
  align-self: center;
  gap: 16px;
  width: fit-content;
}
.flex-container.flex-container--center {
  margin-inline: auto;
}

.header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  padding-inline: 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 100;
  transition: all 0.3s ease-in-out;
}
.header .site-logo__logo--scrolled {
  display: none;
}
.header .main-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header .main-navigation .nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header .main-navigation .nav-menu .menu-item a {
  font-size: 14px;
  font-weight: 500;
  color: var(--textLight);
}
.header .main-navigation .nav-menu .menu-item a:is(:hover, :focus, :active) {
  color: var(--colorPrimary);
}
.header .main-navigation .nav-menu .menu-item.current_page_item a {
  color: var(--colorPrimary);
}
@media screen and (max-width: 900px) {
  .header .main-navigation {
    width: fit-content;
    order: 100;
  }
  .header .main-navigation .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 10px;
  }
  .header .main-navigation .menu-toggle .menu-toggle__bar {
    width: 20px;
    height: 3px;
    background: #fff;
    border-radius: 10px;
  }
  .header .main-navigation .nav-menu {
    position: fixed;
    flex-direction: column;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--colorPrimary);
    border-top: 4px solid var(--colorPrimary);
    transform: translateX(100%);
    transition: all 0.15s ease-in-out;
  }
  .header .main-navigation .nav-menu .menu-item a {
    font-size: 20px;
    text-align: center;
    padding: 8px 0;
    color: var(--textLight) !important;
  }
  .header .main-navigation.toggled .nav-menu {
    transform: translateX(0);
  }
  .header .language-switcher {
    order: 99;
    margin-left: auto;
    display: flex;
    align-items: center;
  }
  .header .language-switcher .lang-item a {
    font-size: 14px;
  }
}
.header.is-scrolled .menu-toggle__bar, .header.header--subpage .menu-toggle__bar {
  background: #000 !important;
}
.header.header--subpage {
  position: static;
}
.header.is-scrolled {
  position: fixed;
}
.header.is-scrolled, .header.header--subpage {
  background: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.header.is-scrolled .site-logo__logo--not-scrolled, .header.header--subpage .site-logo__logo--not-scrolled {
  display: none;
}
.header.is-scrolled .site-logo__logo--scrolled, .header.header--subpage .site-logo__logo--scrolled {
  display: block;
}
.header.is-scrolled .main-navigation .menu-item a, .header.header--subpage .main-navigation .menu-item a {
  color: var(--textColor);
}
.header.is-scrolled .main-navigation .menu-item a:is(:hover, :active, :focus), .header.header--subpage .main-navigation .menu-item a:is(:hover, :active, :focus) {
  color: var(--colorPrimary) !important;
}
.header.is-scrolled .lang-item a, .header.header--subpage .lang-item a {
  color: var(--textColor) !important;
}
.header .language-switcher {
  margin: 0;
  padding: 0;
  list-style: none;
}
.header .language-switcher .lang-item a {
  text-decoration: none;
  color: var(--textLight);
  font-weight: 500;
}

.site-logo {
  display: flex;
  align-items: center;
}

.hero {
  position: relative;
  text-align: center;
  height: 100vh;
  max-height: 900px;
  padding-top: 10%;
}
.hero:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 17, 36, 0.5);
  z-index: 1;
}
.hero .hero--startpage {
  position: relative;
  overflow: hidden;
}
.hero .hero__content {
  position: relative;
  color: var(--textLight);
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  z-index: 2;
}
@media screen and (max-width: 800px) {
  .hero .hero__content {
    padding: 0 20px;
  }
}
.hero .hero__content h1 {
  font-size: 54px;
  line-height: 1.2;
}
@media screen and (max-width: 800px) {
  .hero .hero__content h1 {
    font-size: 45px;
  }
}
.hero .hero__content p {
  max-width: 500px;
  margin-inline: auto;
}

.hero-screen {
  position: relative;
  width: 100%;
  max-width: 860px;
  border-radius: 20px;
  border: 10px solid #120616;
  margin: -250px auto 0;
  z-index: 2;
}

.entry-hero,
.post-thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 30vh;
  overflow: hidden;
}
.entry-hero img,
.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.entry-header {
  margin: 80px auto 60px;
}

.first-section {
  margin-top: 120px;
}
.first-section .first-section__content {
  text-align: center;
  margin-bottom: 48px;
}

.boxes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media screen and (max-width: 900px) {
  .boxes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.boxes-grid .box-item {
  border-radius: 32px;
  line-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.boxes-grid .box-item:is(:not(.box-item--image)) {
  background-color: var(--colorPrimary);
  color: var(--textLight);
}
.boxes-grid .box-item:is(:hover, :active, :focus) {
  transform: rotate(-3deg);
}
.boxes-grid .box-item h3 {
  padding: 40px;
  line-height: 1.2;
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}
@media screen and (max-width: 900px) {
  .boxes-grid .box-item h3 {
    padding: 20px;
    font-size: 20px;
  }
}

/* Start vivir starts */
.vivir-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  align-items: start;
}

.vivir-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.vivir-col--2 {
  margin-top: 40px;
}

.vivir-col--3 {
  margin-top: 80px;
}

.image-card {
  position: relative;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(16, 17, 36, 0.15);
  overflow: hidden;
  line-height: 0;
}

.card-inner img {
  width: 100%;
  height: auto;
  display: block;
}

.card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to left, transparent, rgba(100, 40, 255, 0.9));
  text-align: left;
}

.card-label span {
  font-size: 16px;
  color: var(--textLight);
  font-weight: 600;
  text-transform: capitalize;
}

/* Vivir starts */
.vivir-starts-section {
  margin: 140px 0 0;
  text-align: center;
}

/* Responsiv layout */
@media (max-width: 900px) {
  .vivir-columns-grid {
    grid-template-columns: 1fr;
  }
  .vivir-col--2, .vivir-col--3 {
    margin-top: 0;
  }
}
/* Reduce workload */
.reduce-workload {
  position: relative;
  padding: 200px 0 120px;
  margin-top: -100px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--textLight);
  text-align: center;
  z-index: -1;
}

.reduce-workload .wrapper {
  position: relative;
  z-index: 2;
}

.reduce-workload__content h2 {
  margin-bottom: 20px;
}

.reduce-workload__text {
  max-width: 600px;
  margin: 0 auto 60px;
  opacity: 0.9;
}

.reduce-values {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.reduce-item__circle {
  width: 200px;
  height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}
.reduce-item__circle + .reduce-item__circle {
  margin-left: -16px;
}

.reduce-item__number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.reduce-item__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .reduce-workload__content h2 {
    font-size: 40px;
  }
  .reduce-item__circle {
    width: 160px;
    height: 160px;
  }
  .reduce-item__number {
    font-size: 36px;
  }
}
.js-reveal-circle {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.is-in-view .js-reveal-circle {
  opacity: 1;
  transform: translateY(0);
}

.is-in-view .js-reveal-circle:nth-child(1) {
  transition-delay: 0.1s;
}

.is-in-view .js-reveal-circle:nth-child(2) {
  transition-delay: 0.3s;
}

.is-in-view .js-reveal-circle:nth-child(3) {
  transition-delay: 0.5s;
}

.reduce-workload:not(.is-in-view) .js-reveal-circle {
  transition: none;
}

.image-text-blocks {
  background-image: url("/assets/home/vivir-section-bg.png");
  background-position: bottom center;
  background-repeat: no-repeat;
}
.image-text-blocks .wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 140px 16px;
}
.image-text-blocks .image-text-row {
  display: flex;
  align-items: center;
  gap: 70px;
}
.image-text-blocks .image-text-row.row--reverse {
  flex-direction: row-reverse;
}
@media screen and (max-width: 900px) {
  .image-text-blocks .image-text-row.row--reverse {
    flex-direction: column;
  }
}
@media screen and (max-width: 900px) {
  .image-text-blocks .image-text-row {
    flex-direction: column;
  }
}
.image-text-blocks .image-text-row .image-text-row__image {
  flex: 1;
}
.image-text-blocks .image-text-row .image-text-row__content {
  flex: 1;
}

.quote-section {
  color: #fff;
  background-position: center;
  background-attachment: fixed;
}
.quote-section .quote-container {
  max-width: 500px;
  text-align: center;
  margin-inline: auto;
  padding: 160px 0;
}

.contact-section {
  background-color: var(--colorPrimary);
  color: var(--textLight);
  padding: 160px 0;
}
.contact-section ::selection {
  background-color: var(--textLight);
  color: var(--colorPrimary);
}
.contact-section .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 120px;
}
@media screen and (max-width: 900px) {
  .contact-section .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-section .contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-section .contact-details .contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-section .contact-details .contact-detail-item a {
  color: var(--textLight);
  text-decoration: none;
}
.contact-section .contact-details .contact-detail-item .contact-detail-item__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background-color: var(--textLight);
  border-radius: 16px;
}
.contact-section .contact-details .contact-detail-item .contact-detail-item__icon img {
  max-width: 22px;
  max-height: 22px;
}
.contact-section .contact-details .contact-detail-item .contact-detail-item__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-section .contact-details .contact-detail-item .contact-detail-item__info label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.contact-section .contact-details .contact-detail-item .contact-detail-item__info p {
  margin: 0;
}

/* Form */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.form-group label {
  font-weight: 600;
}
.form-group input {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 8px;
}
.form-group .wpcf7-not-valid-tip {
  color: var(--textColor);
}

.site-footer {
  background-color: #0A060D;
  color: var(--textLight);
  padding: 120px 0;
  text-align: center;
}

.js-fade-up {
  opacity: 0;
  transform: translate(-50%, 80px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.js-fade-up.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.is-accent-text {
  color: #5d3df3 !important;
  font-size: 13px;
}

.has-text-align-center {
  text-align: center;
}

.has-text-align-left {
  text-align: left;
}

.has-text-align-right {
  text-align: right;
}

.wp-block-columns {
  gap: 40px;
}
