/* GLOBAL */


:root {

  --color-text: #fff;
  --color-text-secondary: #eaeaea;

  --color-bg: #0000d4;
  --color-bg-secondary: #131416;

  --color-callout: #24262a;
}

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

@font-face {
    font-family: 'Primary';
    src: url('../fonts/dmsans-light.woff2') format('woff2'),
        url('../fonts/dmsans-light.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: "Primary", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

a {text-decoration: none;}

h2 {
  font-weight: 500;
  font-size: 5rem;
  color: var(--color-text-secondary);
  letter-spacing: 0;
  line-height: 100%;
}

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

.container {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
}

.callout {
  width: max-content;
  padding: 0.5em 1em;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.125);
  border-radius: 12px;
  margin-bottom: 2em;
}



/* Gutenberg */

.alignwide {
  margin: auto;
  max-width: 1200px;
  width: 100%;
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  position: relative;
}

/* LOADER */

/* Lock scroll mentre il preloader è visibile */
html.is-locked, body.is-locked { overflow: hidden; }

/* Contenitore preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: auto;
}

/* Pannelli neri (sipario) */
.preloader__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50vw;
  background: #000;
  will-change: transform;
}
.preloader__panel--left  { left: 0;  transform: translateX(0%); }
.preloader__panel--right { right: 0; transform: translateX(0%); }

/* Scritta centrale */
.preloader__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.preloader__word {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-size: clamp(48px, 8vw, 128px);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
  mix-blend-mode: normal;
  z-index: 3;
}

/* Linea bianca 1px che sale dal basso */
.preloader__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #fff;
  top: 100%;           /* parte dal basso (fuori schermo) */
  opacity: 1;
  z-index: 3;          /* sopra i pannelli */
  will-change: top, opacity;
}

/* Riduce il movimento per chi preferisce */
@media (prefers-reduced-motion: reduce) {
  .preloader__panel,
  .preloader__line,
  .preloader__word { transition: none !important; }
}


/* NAV */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  padding: 1.5em 1em;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  z-index: 10;
}

.logo,
.clock,
.ctas {
  flex: 1;
}

.logo img {
  width: 36px;
}

.logo a {font-size: 3rem; color: white; text-decoration: none;}

.ctas {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.sound,
.contact,
.menu {
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-text);
  border-radius: 8px;
  cursor: pointer;
  padding: 1em 0;
}

.sound p,
.contact a,
.menu p {
  color: var(--color-bg);
}

.menu,
.contact {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu p,
.contact a {
  padding-right: 0.75em;
  margin-bottom: 0;
  font-size: 1rem;
}

.menu .menu-icon,
.contact .contact-icon {
  position: relative;
  left: 0.125em;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(45deg);
  transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact .contact-icon {
  color: var(--color-text);
  transform: rotate(0);
  left: 0.25em;
  font-size: 8px;
}

.contact {
  background: #212121;
}

.contact a {
  color: var(--color-text);
  position: absolute;
  right: 0;
  width: 100%;
  text-align: right;
}

.menu.active {
  background: var(--color-text);
}

.menu.active p,
.menu.active ion-icon {
  color: var(--color-bg);
}

.menu.active .menu-icon {
  transform: rotate(270deg);
  transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 900px) {
  .ctas {
    position: fixed;
    left: 0;
    bottom: 2.5em;
    width: 100%;
    height: 60px;
    padding: 1em;
  }

  .clock {
    text-align: right;
  }

  .menu,
  .contact {
    padding: 1.25em 0.5em;
  }

  .menu .menu-icon {
    left: 0;
  }

  .menu.active {
    background: var(--color-bg);
  }

  .menu.active p,
  .menu.active ion-icon {
    color: var(--color-text);
  }
}

/* MENU */

.menu-container {
  position: fixed;
  top: 46px;
  left: 0;
  width: 100%;
  padding: 1em;
  display: flex;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
}

.whitespace {
  pointer-events: none;
}

.whitespace,
.menu-items {
  flex: 1;
  padding: 0.25em;
}

.menu-items {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  background: var(--color-text);
  border-radius: 8px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.menu-item {
  position: relative;
  width: 100%;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-text-secondary);
  border-radius: 5px;
}

.menu-item span {
  color: var(--color-bg);
}

@media (max-width: 900px) {
  .menu-container {
    top: unset;
    bottom: calc(0px);
    padding: 0;
  }

  .menu-items {
    border-radius: 8px 8px 0px 0px;
    padding-bottom: 100px;
  }

  .whitespace {
    display: none;
  }
}

/* HERO */

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: hidden;
}

.hero h2 {font-size: 1.8rem;}

.hero-img {
  position: absolute;
  top: 0%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform: rotate(-165deg);
}

.hero-img img {
  transform: scale(1.25);
}

.hero-header {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding: 1em;
  z-index: 1;
}

.hero-col:nth-child(1) {
  flex: 3;
}

.hero-col:nth-child(2) {
  flex: 2;
  padding: 0.5em;
}

.hero-header h1 {
  
    font-size: 15vw;
    color: var(--color-text);
    font-weight: 400;
	letter-spacing: -0.5rem;
}

p#site-intro {
  text-indent: 10em;
  margin-top: 2em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero-header {
    position: absolute;
    bottom: 10em;
    flex-direction: column;
  }
	
	.hero-header h1 {
	letter-spacing: -0.2rem;
}

  p#site-intro {
    margin-top: 0;
    text-indent: 0;
  }

  .hero-img {
    transform: rotate(-170deg);
  }
}

/* ABOUT */

.about {
  width: 100%;
  height: max-content;
  background: var(--color-bg);
}

.about-header {
  width: 100%;
  padding: 20em 0 10em 0;
  display: flex;
}

.about-col {
  padding: 1em;
}

.about-col:nth-child(1) {
  flex: 2;
}

.about-col:nth-child(2) {
  flex: 4;
}

.about-col h2 {
  width: 85%;
  color: rgba(255, 255, 255, 0.125);
  transition: color 0.3s;
}

.about-copy {
  width: 50%;
  padding: 10em 0 5em 0;
  text-transform: uppercase;
  font-size: 1.2em;
}

@media (max-width: 900px) {
  .about-copy {
    width: 100%;
  }

  .about-header {
    padding: 5em 0 5em 0;
    flex-direction: column;
  }

  .about-col h2 {
    width: 100%;
    font-size: 50px;
  }

  .about-copy {
    padding: 5em 0 10em 0;
  }
}

/* SERVIZI OFFERTI */

:root {
  --bg: #141414;
  --bg-200: #282828;
  --fg: #fff;
  --fg-100: #f1f1f1;
  --fg-200: #a1a1a1;
}

.sticky-cols-container {
  position: relative;
  width: 100vw;
  height: 100svh;
  background-color: var(--bg);
  color: var(--fg-100);
  overflow: hidden;
}

.gradient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

.sticky-cols {
  padding: 0.5rem;
}

.sticky-cols-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.col {
  position: absolute;
  width: 50%;
  height: 100%;
  will-change: transform;
}

.col h2 {
  color: var(--fg-200);
  width: 60%;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.1;
}

.col p {
  color: var(--fg-100);
  width: 60%;
}

.col-2 {
  transform: translateX(100%);
}

.col-3 {
  transform: translateX(100%) translateY(100%);
  padding: 0.5rem;
}

.col-4 {
  transform: translateX(100%) translateY(100%);
}

.col-content,
.col-img {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
}

.col-content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #282828;
  border-radius: 3rem;
  overflow: hidden;
}

.col-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 3rem;
  overflow: hidden;
}

.col-content-wrapper {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.col-content-wrapper-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #282828;
	border-radius: 3rem;
}

.col-img-1,
.col-img-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.col-img-2 {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

.col-img-2 img {
  scale: 1.25;
}

.line {
  overflow: hidden;
}

.line span {
  display: block;
  will-change: transform;
}

@media (max-width: 1000px) {
  
  .col h2,
  .col p {
    width: 100%;
  }

  .col-content-wrapper,
  .col-content-wrapper-2 {
    padding: 5rem 1rem;
  }
}

/* LAVORI */

section.card {
  width: 100vw;
  height: 100vh;
}

.card.scroll {
  position: relative;
}

.project {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 85%;
  height: 75%;
  display: flex;
}

.project-copy {
  position: relative;
  flex: 1.75;
  border-radius: 12px;
  padding: 2em;
  background: var(--color-bg-secondary);
  min-height: 400px;
}

.project-img {
  flex: 3;
  border-radius: 12px;
  overflow: hidden;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.project-header h3 {
  color: var(--color-text);
  text-transform: uppercase;
  font-family: var(--font-secondary);
  font-size: 40px;
  line-height: 100%;
}

.project-header p {
  padding: 0 !important;
}

.project-copy p {
  padding: 1em 0;
}

.project-cta {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 1em;
  text-transform: uppercase;
}

.project-cta-row {
  width: 100%;
  display: flex;
  gap: 1em;
}

.cta {
  flex: 1;
  padding: 0.5em 1em;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.125);
}

.cta span {
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .project {
    flex-direction: column;
  }

  .project-header h3 {
    font-size: 24px;
  }
}

/* END */

.prices-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  padding: 1.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1;
}

.prices-bg {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.prices-hero h1,
.prices-hero h3 {
  color: var(--color-text);
  font-family: var(--font-secondary);
  text-transform: uppercase;
  text-align: center;
  line-height: 100%;
  margin: 0;
}

.prices-hero h3 {
  font-size: 3vw;
  letter-spacing: 0;
  line-height: 105%;
}

.prices-hero h1 {
  margin: 0;
  font-size: 10vw;
}

@media (max-width: 900px) {
  .prices-hero {
    height: 70vh;
  }

  .prices-hero h2 {
    font-size: 4vw;
  }

  .prices-hero h1 {
    font-size: 14vw;
  }
}

.prices {
  width: 100%;
  height: max-content;
  background: var(--color-bg-secondary);
  padding-bottom: 12em;
  border-radius: 12px;
}

.prices-header {
  position: relative;
  width: 100%;
  padding: 20em 0 10em 0;
  display: flex;
  z-index: 1;
}

.prices-col {
  padding: 1em;
}

.prices-col:nth-child(1) {
  flex: 2;
}

.prices-col:nth-child(2) {
  flex: 4;
}

.prices-col h2 {
  width: 85%;
  color: rgba(255, 255, 255, 0.125);
  transition: color 0.3s;
}

.prices-copy {
  width: 50%;
  padding: 10em 0 2em 0;
  text-transform: uppercase;
font-size: 1.2em;
}

.prices-cta {
  width: 70%;
  padding: 4em 0;
  margin: 0 auto;
  background: #ff6b00;
  background: linear-gradient(to right, #fc002d, #ff6b00);
  border-radius: 8px;
  box-shadow: none;
  transition: 0.3s;
}

.prices-cta:hover {
  -webkit-box-shadow: 0px 0px 300px 0px rgba(255, 106, 0, 0.75);
  -moz-box-shadow: 0px 0px 300px 0px rgba(255, 106, 0, 0.75);
  box-shadow: 0px 0px 300px 0px rgba(255, 106, 0, 0.75);
}

.prices-cta h1 {
  font-family: var(--font-secondary);
  font-size: 2vw;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 900px) {
  .prices-copy {
    width: 100%;
  }

  .prices-header {
    padding: 5em 0 5em 0;
    flex-direction: column;
  }

  .prices-cta h1 {
    font-size: 4vw;
  }

  .prices-col h2 {
    width: 100%;
    font-size: 50px;
  }

  .prices-copy {
    padding: 5em 0 10em 0;
    font-size: 1.2em;
  }
}

/* TECNOLOGIE */

.technology-container {
  position: relative;
  width: 100vw;
  height: 100svh;
  padding: 2rem;
  overflow: hidden;
}

.technology {
  background-color: #1402d4;
  color: #fff;
  border-bottom: 1px solid white;
}

.technology-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.technology-content * {
  pointer-events: auto;
}

.object-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.object {
  position: absolute;
  width: max-content;
  font-size: 2rem;
  font-weight: 500;
  background-color: #fff;
  color: #0f0f0f;
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: grab;
  user-select: none;
  pointer-events: auto;
  z-index: 2;
}

.object:active {
  cursor: grabbing;
}

.object p {
  margin-bottom: 0 !important;
}


@media (max-width: 1000px) {


  .technology h2 {
    font-size: 45px;
  }

  .object {
    font-size: 1rem;
  }
}

/* FOOTER */

footer {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: -20%;
  left: 0;
  transform: rotate(180deg);
}

.footer-header {
  width: 100%;
  padding: 25em 1.5em 0 1.5em;
  display: flex;
  justify-content: space-between;
}

.footer-header h1 {
  color: var(--color-text);
  text-transform: uppercase;
  font-family: var(--font-secondary);
  font-size: 9vw;
  margin: 0;
}

.footer-sub-header {
  width: 100%;
  padding: 0 1.5em 1em 1.5em;
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--color-text);
  margin-bottom: 10em;
}

.footer-sub-header h2 {
  color: var(--color-text);
  text-transform: uppercase;
  font-family: var(--font-secondary);
  font-size: 1.5vw;
  letter-spacing: 0.025em;
  margin: 0;
}

.footer-ctas {
  width: 100%;
  padding: 0.5em 1.5em;
  display: flex;
  justify-content: space-between;
  color: var(--color-text);
}

.footer-cta-icon {
  display: inline-block;
  padding: 1em 1.125em 0.75em 1.125em;
  background: rgba(255, 255, 255, 0.125);
  border-radius: 12px;
  transition: 0.5s;
}

.footer-cta-icon:hover {
  background: rgba(255, 255, 255, 0.175);
}

.footer-cta-icon ion-icon {
  font-size: 20px;
  transition: 0.3s;
}

.footer-cta-icon:hover ion-icon {
  color: #ff6b00;
}

.footer-copyright {
  width: 100%;
  padding: 0.5em 1.5em 2em 1.5em;
  display: flex;
  justify-content: space-between;
}

.footer-copyright p {
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-form {
  width: 100%;
  padding: 0 1.5em;
  display: flex;
  gap: 0.5em;
}

.form-col:nth-child(1) {
  flex: 4;
  width: 100%;
  padding: 0.25em;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.form-col:nth-child(2) {
  position: relative;
  flex: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ff6b00;
  background: linear-gradient(to right, #fc002d, #ff6b00);
  border-radius: 8px;
}

.submit-btn h3 {
  font-family: var(--font-secondary);
  font-size: 3vw;
  color: var(--color-text);
  text-transform: uppercase;
}

.form-row {
  display: flex;
  gap: 0.25em;
}

input,
textarea {
  flex: 1;
  border: none;
  outline: none;
  text-transform: uppercase;
  padding: 1.5em 1em;
  border-radius: 6px;
  transition: 0.3s;
  outline: 1.5px solid var(--color-text-secondary);
  background: var(--color-text-secondary);
}

input:focus {
  outline: 1.5px solid #ff6b00;
}

@media (max-width: 900px) {
  .footer-sub-header h2 {
    font-size: 3vw;
  }

  .footer-bg {
    top: 0%;
  }

  .footer-header {
    padding: 20em 1.5em 0 1.5em;
  }

  .footer-form {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }

  .submit-btn {
    padding: 3em 0;
  }

  .footer-copyright {
    padding: 0.5em 1.5em 15em 1.5em;
  }
}


  /* Desktop */
@media only screen and (min-width: 992px) {
  /* Inserisci qui le tue regole CSS per desktop */
}

/* Tablet in modalità landscape */
@media only screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  /* Inserisci qui le tue regole CSS per tablet in modalità landscape */
}	

/* Tablet in modalità portrait */
@media only screen and (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
  /* Inserisci qui le tue regole CSS per tablet in modalità portrait */
}


/* Smartphone in modalità landscape */
@media only screen and (max-width: 767px) and (orientation: landscape) {
  /* Inserisci qui le tue regole CSS per smartphone in modalità landscape */
}
	

/* Smartphone in modalità portrait */
@media only screen and (max-width: 767px) and (orientation: portrait) {
  /* Inserisci qui le tue regole CSS per smartphone in modalità portrait */
}
	