/* ========================================
   RESET
======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { overflow: hidden; height: 100%; }
body { font-family: "Montserrat", sans-serif; }
/* SEO */
.visually-hidden {
  position: absolute;
  left: -9999px;
} 

/* ========================================
   VIEWPORT STABILE (MOBILE URL BAR FIX)
======================================== */
:root { --vh: 1vh; --navH: 64px; }

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video-cover {
  position: absolute;
  inset: 0;
  z-index: 5;             /* sopra il video */
  background: url("images/hero-poster.jpg") center / cover no-repeat;
  cursor: pointer;        /* tappabile */
  opacity: 0;             /* desktop: hidden (autoplay) */
  transition: opacity 220ms ease;
}

/* quando parte il video */
.hero-video-cover.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ========================================
   WATERMARK
======================================== */
.watermark-logo {
  position: fixed;
  top: 64%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(60px, 22vw, 200px);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  z-index: 99998; /* dietro ai contenuti (scene-sticky è 2) */
}

/* ========================================
   HEADER
======================================== */
.site-header {
  position: relative;
  height: 0;
  z-index: 1000;
}

.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 90;
}
.overlay.active { opacity: 1; pointer-events: auto; }

.language-switcher {
  display: flex;
  align-items: center;

  

  font-family: 'Montserrat', sans-serif;
  font-size: clamp(10px, 1.2vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #ffffff;
  white-space: nowrap; /* evita il wrap su più righe */
  pointer-events: auto;
  z-index: 1001; /* sopra gli altri elementi */
  mix-blend-mode: difference;
}

.language-switcher a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  transition: opacity 0.3s ease;
   mix-blend-mode: difference;
}

.language-switcher a:hover {
  opacity: 0.6;

}

.lang-separator {
  margin: 0 6px;
  opacity: 0.4;
}

.lang-active {
  font-weight: 600;
  cursor: default;
}
/* ========================================
   lingua
======================================== */
.menu-png {
  width: clamp(1.5rem, 2.5vw, 2rem);
  cursor: pointer;
  z-index: 110;
  filter: invert(1);
  transition: transform 0.3s ease;
  
}
body.dark-menu .menu-png {
  filter: invert(0);   /* nero */
}

.menu-png:hover { transform: scale(1.1); }

.dropdown {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 200px;
  background-color: #fff;
  border-left: 1px solid #ddd;
  box-shadow: -2px 0 6px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 99999;
  padding-top: 60px;
}
.dropdown.active { transform: translateX(0); }
.dropdown a {
  padding: 15px 20px;
  text-decoration: none;
  color: #000;
  transition: background 0.3s;
  position: relative;  
}

.dropdown a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;       
  height: 1px;         
  width: 0%;            
  background-color: #000; 
  transition: width 0.3s ease; 
}

.dropdown a:hover::after {
  background-color: #3b79b3; 
width: 100%; /
}

.dropdown a:hover { 
color: #3b79b3; }

/* Logo e titolo */
.site-logo {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 15vw;
  opacity: 1;
  z-index: 2;
  filter: invert(1);
  pointer-events: none;
}

.site-title {
  position: fixed;
  top: 60%;
  left: 0;
  width: 100%;
  text-align: center;

  /* niente translate percentuali => niente drift */
  transform: translateY(-50%);
  transform-origin: 50% 50%;

  font-size: clamp(2rem, 12vw, 8rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  z-index: 1000;
  pointer-events: none;
  color: white;
}

/* Top nav */
.top-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: clamp(44px, 6vh, 64px);
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  border-bottom: 0.1vh solid white;
  background-color: transparent;
  overflow: hidden;
}

/* Target per “aggancio” del title */
.title-target {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 900;
  opacity: 1;
  color: rgb(255, 255, 255);
  white-space: nowrap;
  text-align: center;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
  font-size: clamp(0.5rem, 1vw, 3rem);
  pointer-events: none;
  flex: 1;
   margin-left: -2%;
}

.nav-left {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-left a {
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: #111;
  text-transform: uppercase;
  position: relative;
}
.nav-left a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #111;
  transition: width 0.3s ease;
}
.nav-left a:hover::after { width: 100%; }

/* ========================================
   SCENE SYSTEM (camera ferma)
======================================== */
.scene {
  position: relative;
  height: var(--scene-h, 200vh); /* durata scena */
}

/* viewport fisso */
.scene-sticky {
  position: fixed;
  inset: 0;
  height: 100dvh;
  overflow: hidden;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  padding-top: var(--navH, 64px); /* top-nav come limite */
}

@supports not (height: 100dvh) {
  .scene-sticky { height: calc(var(--vh) * 100); }
}

/* visibile solo scena attiva */
.scene.is-active .scene-sticky {
  opacity: 1;
  pointer-events: auto;
}

/* contenuto “camera” */
.scene section {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* performance */
.site-title,
.site-logo,
.hero-video,
.about-title,
.about-line,
.work-line,
.brands-line,
.contact-title,
.contact-email,
.contact-image-wrapper {
  will-change: transform, opacity, color;
}

/* ========================================
   HERO
======================================== */
.hero { position: absolute; inset: 0; overflow: hidden; }
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* ========================================
   ABOUT
======================================== */
.about { display: flex; }

.about-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 3%;
}

.about-right {
  width: 50%;
  overflow: hidden;
  z-index: -1;
}
.about-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.about-title {
  font-size: clamp(4rem, 4vw, 6rem);
  font-weight: 500;
  text-align: left;
  opacity: 0.2;
}

.about-text {
  position: relative;
  margin-top: 5%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 3;
}

.about-line {
  opacity: 0;
  transform: translateX(60px);
  font-size: 2rem;
}
.about-line.emphasis {
  font-size: clamp(1rem, 4vw, 2.8rem);
  padding-left: 0%;
  line-height: 1.5;
 
}

/* ========================================
   WORK
======================================== */
.work { position: absolute; inset: 0; overflow: hidden; }
.bg-svg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.work-title {
  font-size: 6rem;
  font-weight: 500;
  text-align: left;
  opacity: 0.2;
}

.work-content {
  position: relative;
  width: 60%;
  top: 15%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
  padding-left: 2.5%;
}

.work-line {
  opacity: 0;
  transform: translateY(-50px);
  font-size: 3rem;
  text-align: left;
  line-height: 1.5;
}
.work-line.emphasis {
  font-size: 2rem;
  padding-left: 0%;
  width: 50%;
}
.work-line.emphasis2 {
  
 position: fixed;          /* o absolute se .work è relative */
  top: 50%;
  right: 2.5%;
  transform: translateY(-50%);
  width: 30%;
  font-size: 2rem;
  text-align: right;
}

/* ========================================
   BRANDS
======================================== */
.brands { position: absolute; inset: 0; overflow: hidden; }

.brand-bg {
  position: absolute;
  width: 100%;
  left: 0;
  z-index: 0;
}

.fascia1, .fascia2, .fascia3 {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 0;
}
.fascia1 { top: 0; height: 50%; background: #222222; }
.fascia2 {
  top: 50%;
  height: 30%;
  background: #797979;
  display: flex;
  align-items: center;
  overflow-x: auto;
}
.fascia2::-webkit-scrollbar { display: none; }
.fascia3 { top: 80%; height: 20%; background: #222222; }

.brands-content {
  position: absolute;
  top: 10%;
  left: 0%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.brands-title { margin-left: 5%; font-size: 3.5rem; margin-bottom: 2rem; }
.brands-title.final {
  margin-left: 0%;
  font-size: 3rem;
  position: absolute;
  top: 65%; left: 0;
  opacity: 0;
  text-align: center;
  width: 100%;
}
.brands-line {margin-left: 5%;  font-size: 2rem; opacity: 0; color: #ffffff; }

.brands-carousel { width: 100%; overflow: hidden; position: relative; overflow-x: auto; }
.brands-carousel::-webkit-scrollbar { display: none; }

.carousel-group {
  display: flex;
  height: 70%;
  position: relative;
  width: max-content;
  animation: moveCards 40s infinite linear;
}
.carousel-card {
  height: 90%;
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px;
  
}
.carousel-card img { max-height: 100%; max-width: 100%; object-fit: contain; }

@keyframes moveCards {
  from { translate: 0%; }
  to { translate: -100%; }
}

/* ========================================
   SERVICES
======================================== */
.services {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  
}

.services-left {
  width: 90%;
  margin: 0 auto;
  margin-top: -5vh;
}

.services-title { font-size: 4rem; margin-top: 10rem; }
.color { color: #e1dbdb; }

.service-big { font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 700; margin-top: 1%; }
.service-small { font-size: clamp(1rem, 2.5vw, 2rem); }

.brand-selection { color: #687374; }
.logistics-management { color: #17292f; }
.marketing-support { color: #3c3a1c; }

.service-block { line-height: 2; }

/* ========================================
   CONTACT
======================================== */
.contact-us {
  display: block;          /* stop flex center che restringe */
  padding: 0;
  height: 100vh;
  width: 100%;
}

.contact-inner {
  width: 100%;
  max-width: none;
}

.contact-text {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #111;
  z-index: 2;
}

.contact-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 1;
  transform: translateX(100px);
}

.contact-email {
  font-size: 1.2rem;
  opacity: 1;
  transform: translateX(100px);
}

.contact-image-wrapper {
  width: 40%;
  height: 100%;
  opacity: 1;
  transform: translateX(200px);
  overflow: hidden;
}

.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   LEGAL
======================================== */
.legal {
  background: #000;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 18px 80px;
}

.legal-inner {
  width: min(520px, 92vw);
  margin-top: 15%;
  text-align: center;
  font-size: 1.2rem;
  text-indent: 1em;
  letter-spacing: 0.08em;
  line-height: 1.6;
  opacity: 0.9;
}

/* ========================================
   LEGAL MODE (solo nav)
======================================== */
body.legal-mode .top-nav {
  background-color: #000;
  border-bottom-color: rgba(255,255,255,0.25) !important;
}
body.legal-mode .site-title { color: #fff !important; }
body.legal-mode #hamburger { filter: invert(1); }
body.legal-mode .hero-text { color: #fff !important; }

/* ========================================
   MEDIA QUERIES
======================================== */
/* ============================================================
   CONTACT — New layout (from mail 3.html) — scoped classes
============================================================ */
.contact-page{
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

/* LEFT SIDE */
.contact-left{
  position: relative;
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
 
  background-image: url("images/WhatsApp\ Image\ 2026-01-25\ at\ 12.49.05.jpeg"); /* <-- metti qui la tua immagine */
  background-size: cover;
  background-position: center;
}

.contact-left::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.37);
  z-index:0;
}

.contact-left-title{
  position: relative;
  z-index: 1;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.contact-intro{
  position: relative;
  z-index: 1;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 20px;
}

.contact-intro::after{
  content:"";
  display:block;
  height:4px;
  width:0;
  background:#ff0000;
  margin-top:6px;
  animation: contactGrowLine 1s forwards;
}

.contact-item{
  position: relative;
  z-index: 1;
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom: 18px;
}

.contact-icon{
  width:24px;
  height:24px;
  flex: 0 0 auto;
}

.contact-line{
  position: relative;
  margin: 0;
  line-height: 1.6;
}

.contact-line::after{
  content:"";
  display:block;
  height:1px;
  width:0;
  background:#ffffff;
  margin-top:4px;
  animation: contactGrowLine 1s forwards;
}

.contact-item:nth-child(3) .contact-line::after { animation-delay: 1s; }
.contact-item:nth-child(4) .contact-line::after { animation-delay: 1.3s; }
.contact-item:nth-child(5) .contact-line::after { animation-delay: 1.6s; }

@keyframes contactGrowLine{
  from { width: 0; }
  to   { width: 100%; }
}

/* RIGHT SIDE */
.contact-right{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 40px;
  background: #f6f6f4;
}

.contact-card{
  width: 100%;
  max-width: 480px;
  background: #fff;
  padding: 50px 45px;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

/* Form */
.contact-card .form-group{ margin-bottom: 26px; }

.contact-card label{
  display:block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.contact-card input,
.contact-card textarea{
  width: 100%;
  padding: 15px 16px;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid #fff;
  background: #fafafa;
  transition: all 0.25s ease;
  font-family: "Montserrat", sans-serif;
}

.contact-card input:focus,
.contact-card textarea:focus{
  outline:none;
  border-color:#000;
  background:#fff;
}

.contact-card textarea{
  resize: vertical;
  min-height: 130px;
}

.contact-submit{
  width: 100%;
  margin-top: 10px;
  padding: 16px;
  border: none;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-submit:hover{
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.pantone {
      position: absolute;
      border-radius: 12px;
      opacity: 0.9;
      animation: float 8s ease-in-out infinite;
    }

    .pantone.one { width: 140px; height: 140px; background: #cdb4ff; top: 60px; left: 60px; animation-delay: 0s; z-index: 1; }
    .pantone.two { width: 100px; height: 100px; background: #ffc8a2; bottom: 100px; left: 120px; animation-delay: 2s; z-index: 1; }
    .pantone.three { width: 90px; height: 90px; background: #b8f2e6; top: 120px; right: 120px; animation-delay: 4s; z-index: 1; }

    @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(100px); } 100% { transform: translateY(0px); } }

    /* RESPONSIVE */
    @media (max-width: 900px) {
      .page { grid-template-columns: 1fr; }
      .left { padding: 60px 30px 30px; }
      .right { padding: 20px; }
      .left h1 { font-size: 42px; }
      .pantone { display: none; }
      
    }
    @media (max-width: 1500px){
      .site-title {font-size: clamp(2rem, 12vw, 4.4rem);}
    }
/* Responsive */
@media (max-width: 900px){
  .contact-page{
    grid-template-columns: 1fr;
    min-height: calc(var(--vh, 1vh) * 100);
  }

  /* riduci la parte sinistra */
  .contact-left{
    padding: 48px 22px 22px;
    min-height: auto;
  }

  .contact-left-title{
    font-size: 2.1rem;
    margin-bottom: 14px;
  }

  .contact-intro{
    margin-bottom: 14px;
    max-width: none;
  }

  /* area form: non deve tagliarsi */
  .contact-right{
    padding: 16px;
    align-items: flex-start;
         /* parte dall’alto */
  }

  .contact-card{
    width: 100%;
    max-width: none;
    margin: 0 auto;

    /* 🔥 la chiave: non può superare lo schermo */
    max-height: calc((var(--vh, 1vh) * 100) - 140px);
    overflow: visible;

    padding: 22px 18px;
    border-radius: 18px;
  }

  .contact-card textarea{
    min-height: 90px;
  }

}


/* ---- Mobile standard ---- */
@media (max-width: 768px) {
  .brands-title.final {
    font-size: clamp(1.5rem, 5.4vw, 2.6rem);
    margin-top: 0%;
  }
   .brands-line {font-size: 1.5rem;}
  .hero-video-cover { opacity: 1; }

  .site-logo { top: 30%; width: 30vw; }
  .hero-text { font-size: clamp(0.5rem, 3vw, 3rem); }

  /* About: colonna */
   .about {
    flex-direction: column;   /* verticale */
    align-items: center;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  /* immagine sopra */
  .about-right {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* testo sotto */
  .about-left {
    order: 2;
    width: 100%;
    padding-left: 0;
    align-items: center;
  }
  .about-right img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: -0.5rem;
  }

  .about-text {
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    padding: 0 0.5rem;
  }
  .about-line {
    font-size: 1.2rem;
    text-align: center;
    transform: translateX(0);
  }
  .about-line.emphasis {
    font-size: 1.6rem;
    padding-left: 0%;
  }

  /* Services: center solo mobile */
  .services,
  .services-left {
    text-align: center;
  }

  .services-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service-block {
    align-items: center;
    
  }
  .service-big, .service-small {line-height: 3;}
  .services-title {  margin-top: 8rem; }

  /* Work: mobile size + center */
  
.work-line {
  width: 100%;
  text-align: center;
  transform: translateY(0);   /* niente offset strani */
}
  .work-title {font-size:clamp(3.5rem, 5vw, 4rem)}
  .work-line.big { font-size:clamp(1.2rem, 5vw, 2rem); text-align: center; }
  .work-line.emphasis { 
    font-size: clamp(1rem, 5vw, 2rem);
    padding-left: 0; 
    text-align: center;
   width: 100%;}
  .work-line.emphasis2{
  position: static !important;     /* oppure relative */
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;      /* se aveva translateX */
  padding-left: 0 !important;
  margin: 0 auto !important;
  text-align: center !important;
  font-size: clamp(1rem, 5vw, 2rem);
  width: 100%;
}
  .work,
  .work-content {
    text-align: center;
    width: 100%;
    padding-left: 0%;
  }
  .work-line {font-size: clamp(1.5rem, 5vw, 2rem)}
  .work-content {
    align-items: center;
  }

  /* Contact: colonna */
  .contact-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .contact-text {
    width: 100%;
    margin-bottom: 2rem;
  }
  .contact-image-wrapper {
    width: 100%;
    height: 50%;
    overflow-y: hidden;
  }
  .contact-title { font-size: 2rem; }
}

/* ---- Short height devices (generico) ---- */
@media (max-height: 700px) {
  .top-nav { height: 44px; }
  .work-content { top: 12%; }

  /* About */
  .about-title { font-size: 4rem; }
  .about-text { margin-top: 3%; }
  .about-line { font-size: 1.6rem; }
  .about-line.emphasis { font-size: 3rem; }

  /* Services */
  .services-title { font-size: 3rem; }
  .service-big { font-size: 1.8rem; }
  .service-small { font-size: 1.05rem; }
  .service-big, .service-small {line-height: 2;}
 

  /* Contact */
  .contact-image-wrapper { height: 42%; }

  /* Legal */
  .legal-inner { margin-top: 20%; font-size: 1rem; }
}

/* ---- iPhone “basso” (mobile + poco spazio verticale) ----
   Qui riduciamo quello che croppa su device più piccoli verticalmente */
@media (max-width: 430px) and (max-height: 750px) {
  /* ABOUT: titolo + linee più compatti */
  .about-title {
    padding-top: 24%;
    font-size: 1.9rem;
  }
  .about-line { font-size: 0.95rem; }
  .about-line.emphasis { font-size: 1.55rem; }

  /* BRANDS: riduco SOLO le scritte (NON il titolo) */
  .brands-line {
    font-size: 1.25rem;
    line-height: 1.15;
  }
  /* (opzionale) un filo più su il blocco testo */
  .brands-content { top: 8%; }

  /* SERVICES: tutto più su + font più piccoli */
  .services-left { margin-top: -8vh; }
  .services-title { margin-top: 6rem; font-size: 2.6rem; }
  .service-big { font-size: 1.55rem; }
  .service-small { font-size: 1.0rem; }
  .service-block { line-height: 1.75; }

  /* LEGAL: porta tutto più su */
  .legal { padding: 86px 16px 56px; }
  .legal-inner {
    margin-top: 8%;
    font-size: 1.0rem;
    line-height: 1.5;
  }
}
@media (max-width: 900px) and (max-height: 700px) {

  .contact-us{
    height: calc(var(--vh, 1vh) * 100);
  }

  .contact-page{
    /* 2 righe: sopra left, sotto card */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.45fr 0.55fr;  /* ✅ 50/50 */
    min-height: calc(var(--vh, 1vh) * 100);
  }

  .contact-left{
    /* non deve “mangiare” spazio extra */
    padding: 22px 16px 14px;
    justify-content: center;
  }

  .contact-left-title{
    font-size: 1.55rem;
    margin-bottom: 10px;
    line-height: 1.05;
  }

  .contact-intro{
    font-size: 0.9rem;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .contact-item{
    margin-bottom: 8px;
    gap: 10px;
  }

  .contact-icon{
    width: 18px;
    height: 18px;
  }

  .contact-line{
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .contact-right{
    padding: 12px;
    align-items: center;
    justify-content: center;
  }

  /* ✅ niente scroll interno */
  .contact-card{
    max-height: none;
    overflow: visible;

    width: min(520px, 92vw);
    padding: 14px 14px;
    border-radius: 16px;
  }

  .contact-card .form-group{
    margin-bottom: 14px;
  }

  .contact-card label{
    font-size: 10px;
    margin-bottom: 6px;
  }

  .contact-card input,
  .contact-card textarea{
    padding: 12px 12px;
    font-size: 13px;
    border-radius: 12px;
  }

  .contact-card textarea{
    min-height: 20px; /* ✅ chiave per SE */
  }

  .contact-submit{
    padding: 13px;
    font-size: 12px;
    letter-spacing: 0.12em;
  }
}

/* ---- Extra tiny (SE/mini estremi) ---- */
@media (max-width: 390px) and (max-height: 690px) {
  .about-title { padding-top: 12%; font-size: 1.75rem; }
  .about-line { font-size: 0.9rem; }
  .about-line.emphasis { font-size: 1.45rem; }

  .brands-line { font-size: 1.25rem; }

  .services-left { margin-top: -1vh; }
  .services-title { margin-top: 5.5rem; font-size: 2.4rem; }

  .legal { padding: 78px 14px 50px; }
  .legal-inner { margin-top: 6%; font-size: 0.95rem; }
}

/* ========================================
   iOS pull-to-refresh / rubber-band OFF
======================================== */
html,
body {
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  touch-action: none;
}

/* ============================================================
   LANDSCAPE PHONE (altezza bassa): layout compatto
   - iPhone in orizzontale / device con poca height
============================================================ */
@media (orientation: landscape) and (max-height: 520px) {

  /* Top nav un pelo più compatta */
  .top-nav {
    height: 44px;
    padding: 0 1rem;
  }

  /* Site title: più piccolo e più in alto (ma centrato) */
  .site-title {
    top: 52%;
    font-size: clamp(1rem, 7vw, 3rem);
    letter-spacing: 0.10em;
  }

  /* Logo sopra: più piccolo e meno invadente */
  .site-logo {
    top: 16%;
    width: 12vw;
  }

  /* HERO text: più piccola (se la usi) */
  .hero-text {
    font-size: clamp(0.55rem, 2.2vw, 1.2rem);
  }

  /* ============ ABOUT ============ */
  .about {
  flex-direction: row;
  align-items: center;
  padding: 0 0vw;
}

.about-left {
  width: 62%;
  padding-left: 2%;
}

.about-right {
  width: 38%;
  display: flex;
  align-items: center;
  
 
}

.about-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
 .about-title {
  font-size: 2.2rem;
  text-align: left;
  margin-top: 0rem;
  padding: 0%;
}

.about-text {
  margin-top: 0;
  gap: 0.35rem;
  text-align: left;
}

.about-line {
  font-size: 1.05rem;
}

.about-line.big {
  font-size: 1.2rem;
}

.about-line.emphasis {
  font-size: 1.5rem;
  padding-left: 0;
}


  /* ============ WORK ============ */
  .work-content { top: 10%; gap: 0.6rem; margin-top: 8%; }
  .work-line {
    font-size: 1.5rem;
    line-height: 1.15;
    text-align: center;
  }
  .work-line.big { font-size: 1.5rem; }
  .work-line.emphasis { font-size: 1.2rem; padding-left: 0; }

  /* ============ BRANDS ============ */
  .brands-content { top: 15%; left: 4%; }
  .brands-title { font-size: 2.3rem; margin-bottom: 0.75rem; }
  .brands-title.final { font-size: 1.8rem; text-align: center;  }
  .brands-line { font-size: 1.25rem; line-height: 1.15; }

  /* Carousel: meno alta per non rubare spazio */
  .fascia1 { height: 50%; }
  .fascia2 { height: 32%; }
  .fascia3 { height: 22%; }
  .carousel-group { height: 80%; }
  .carousel-card { height: 100%; }

  /* ============ SERVICES ============ */
  .services-left { margin-top: -2vh; }
  .services-title {
    margin-top: 4.5rem;
    font-size: 2.3rem;
  }
  .service-big { font-size: 1.45rem; }
  .service-small { font-size: 0.95rem; }
  .service-block { line-height: 1.65; }

  /* ============ LEGAL ============ */
  .legal { padding: 70px 14px 40px; }
  .legal-inner {
    margin-top: 4%;
    font-size: 0.95rem;
    line-height: 1.45;
  }
}

/* ============================================================
   LANDSCAPE SUPER-COMPACT (es. iPhone SE landscape)
============================================================ */
@media (orientation: landscape) and (max-height: 420px) {

  .site-title {
    top: 54%;
    font-size: clamp(0.95rem, 5.4vw, 2.6rem);
    letter-spacing: 0.09em;
  }

  .site-logo { top: 14%; width: 11vw; }

  .about-title { font-size: 1.9rem; }
  .about-line { font-size: 0.95rem; }
  .about-line.emphasis { font-size: 1.35rem; }

  .work-content { top: 8%; }
  .work-line { font-size: 1.35rem; }

  .brands-title { font-size: 2.1rem; }
  .brands-title.final { font-size: 1.8rem; }
  .brands-line { font-size: 1.15rem; }

  .services-title { margin-top: 4rem; font-size: 2.1rem; }
  .service-big { font-size: 1.35rem; }
  .service-small { font-size: 0.9rem; }

  .legal { padding: 64px 12px 34px; }
  .legal-inner { margin-top: 3%; font-size: 0.9rem; }
}

@media (orientation: landscape) {
  .scene-sticky{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}