@import url("/chi-siamo.css?v=230");

/* ==========================================================
   LA FACTORY — CONTATTI / CINEMATIC EDITION
   ========================================================== */

.contact-page {
  --contact-bg: #080808;
  --contact-ink: #f2f0eb;
  --contact-muted: #96928d;
  --contact-orange: #ff571c;
  --contact-line: rgba(255,255,255,.16);
  --contact-pad: clamp(24px, 6vw, 110px);

  background: var(--contact-bg);
  color: var(--contact-ink);
  overflow-x: clip;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
  box-sizing: border-box;
}

.contact-page main {
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.contact-page a {
  color: inherit;
}

.contact-page .eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--contact-orange);
}

.contact-page h1,
.contact-page h2 {
  font-weight: 900;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.contact-page h1 em,
.contact-page h2 em {
  color: var(--contact-orange);
  font-style: normal;
}

.contact-page .contact-section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--contact-line);
  color: var(--contact-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

/* HERO */

.contact-page .contact-hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 130px var(--contact-pad) 62px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 43%, rgba(100,35,15,.32), transparent 44%),
    #080808;
}

.contact-page .contact-hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.035) 50%, transparent 50.1%),
    linear-gradient(0deg, transparent 49.9%, rgba(255,255,255,.025) 50%, transparent 50.1%);
  opacity: .55;
  z-index: 0;
}

.contact-page .contact-hero-top {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #aaa49d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.contact-page .contact-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: auto;
}

.contact-page .contact-hero h1 {
  max-width: 1250px;
  margin: 24px 0 0;
  font-size: clamp(64px, 9.5vw, 154px);
  line-height: .86;
  overflow-wrap: normal;
}

.contact-page .contact-hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-top: 58px;
}

.contact-page .contact-hero-bottom p {
  margin: 0;
  color: #aaa49d;
  font-size: 15px;
  line-height: 1.7;
}

.contact-page .contact-scroll {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.55);
  text-decoration: none;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.contact-page .contact-scroll span {
  color: var(--contact-orange);
  font-size: 24px;
}

.contact-page .contact-hero-watermark {
  position: absolute;
  right: -2vw;
  bottom: -4vw;
  z-index: 0;
  font-size: clamp(100px, 20vw, 380px);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: 1;
  color: rgba(255,255,255,.018);
  pointer-events: none;
  white-space: nowrap;
}

/* HERO SYMBOL */

.contact-page .connect-mark {
  position: absolute;
  z-index: 1;
  right: 9%;
  top: 43%;
  width: min(33vw, 500px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: .7;
}

.contact-page .connect-mark i {
  position: absolute;
  display: block;
  background: linear-gradient(135deg, #e53b13, #ff7a28);
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}

.contact-page .connect-mark i:nth-child(1),
.contact-page .connect-mark i:nth-child(3) {
  width: 42%;
  height: 10%;
  left: 29%;
}

.contact-page .connect-mark i:nth-child(1) {
  top: 13%;
  clip-path: polygon(12% 0,88% 0,100% 100%,0 100%);
}

.contact-page .connect-mark i:nth-child(3) {
  bottom: 13%;
  clip-path: polygon(0 0,100% 0,88% 100%,12% 100%);
}

.contact-page .connect-mark i:nth-child(2),
.contact-page .connect-mark i:nth-child(4) {
  height: 42%;
  width: 10%;
  top: 29%;
}

.contact-page .connect-mark i:nth-child(2) {
  right: 13%;
  clip-path: polygon(0 0,100% 12%,100% 88%,0 100%);
}

.contact-page .connect-mark i:nth-child(4) {
  left: 13%;
  clip-path: polygon(0 12%,100% 0,100% 100%,0 88%);
}

.contact-page .connect-mark b {
  position: absolute;
  inset: 43%;
  border: 1px solid var(--contact-orange);
  transform: rotate(45deg);
  transition: transform .8s ease;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-hero:hover .connect-mark i:nth-child(1) {
    transform: translateY(18%);
  }
  .contact-page .contact-hero:hover .connect-mark i:nth-child(2) {
    transform: translateX(-18%);
  }
  .contact-page .contact-hero:hover .connect-mark i:nth-child(3) {
    transform: translateY(-18%);
  }
  .contact-page .contact-hero:hover .connect-mark i:nth-child(4) {
    transform: translateX(18%);
  }
  .contact-page .contact-hero:hover .connect-mark b {
    transform: rotate(135deg) scale(1.3);
  }
}

/* INTRO */

.contact-page .contact-intro {
  padding: 110px var(--contact-pad) 145px;
  background: #080808;
}

.contact-page .contact-intro-grid {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: clamp(45px, 8vw, 150px);
  padding-top: 100px;
}

.contact-page .contact-intro h2,
.contact-page .contact-form-heading h2,
.contact-page .contact-routes h2 {
  margin: 20px 0 0;
  font-size: clamp(48px, 6.6vw, 110px);
  line-height: .93;
}

.contact-page .contact-intro-copy {
  min-width: 0;
  padding-top: 20px;
}

.contact-page .contact-small-rule {
  display: block;
  width: 55px;
  height: 2px;
  background: var(--contact-orange);
  margin-bottom: 35px;
}

.contact-page .contact-intro-copy > p {
  max-width: 530px;
  margin: 0 0 24px;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.7;
  color: #a9a49e;
}

.contact-page .contact-intro-copy > p:first-of-type {
  color: #f1eee9;
}

.contact-page .contact-email {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 55px;
  padding: 22px 44px 22px 0;
  border-top: 1px solid var(--contact-line);
  border-bottom: 1px solid var(--contact-line);
  text-decoration: none;
}

.contact-page .contact-email > span:first-child {
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--contact-orange);
}

.contact-page .contact-email strong {
  font-size: clamp(15px, 1.5vw, 23px);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-page .contact-email-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--contact-orange);
  font-size: 28px;
}

/* FORM SECTION */

.contact-page .contact-form-section {
  padding: 105px var(--contact-pad) 135px;
  background: #efede7;
  color: #111;
}

.contact-page .contact-form-section .contact-section-top {
  border-color: rgba(0,0,0,.18);
  color: #77736d;
}

.contact-page .contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: clamp(40px, 7vw, 130px);
  padding-top: 100px;
}

.contact-page .contact-form-heading {
  min-width: 0;
}

.contact-page .contact-form-heading .eyebrow {
  color: #df4618;
}

.contact-page .contact-form-heading h2 {
  font-size: clamp(43px, 5.5vw, 94px);
}

.contact-page .contact-form-heading > p:not(.eyebrow) {
  max-width: 410px;
  margin-top: 36px;
  color: #66615b;
  font-size: 17px;
  line-height: 1.7;
}

.contact-page .contact-form-note {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 100px;
  color: #77716b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
}

.contact-page .contact-form {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-content: start;
  gap: 40px 30px;
  min-width: 0;
}

.contact-page .contact-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 10px;
}

.contact-page .contact-field-full {
  grid-column: 1 / -1;
  min-width: 0;
}

.contact-page .contact-field > label {
  color: #67615b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.contact-page .contact-field input,
.contact-page .contact-field select,
.contact-page .contact-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid #aaa49b;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
  transition: border-color .2s ease;
}

.contact-page .contact-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-page .contact-field input::placeholder,
.contact-page .contact-field textarea::placeholder {
  color: #88827a;
  opacity: 1;
}

.contact-page .contact-field input:focus,
.contact-page .contact-field select:focus,
.contact-page .contact-field textarea:focus {
  border-bottom: 2px solid #e64c19;
}

.contact-page .contact-field select {
  cursor: pointer;
}

.contact-page .contact-privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
}

.contact-page .contact-privacy-label input {
  appearance: auto;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin: 3px 0 0;
  accent-color: #e64c19;
}

.contact-page .contact-privacy-label span {
  color: #66615b;
  font-size: 13px;
  line-height: 1.7;
}

.contact-page .contact-privacy-label a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-page .contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-page .contact-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid #c7c2b9;
}

.contact-page .contact-form-footer p {
  margin: 0;
  color: #77716b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .12em;
}

.contact-page .contact-form-footer button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  min-height: 58px;
  padding: 17px 23px;
  border: 1px solid #151515;
  background: #151515;
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}

.contact-page .contact-form-footer button b {
  color: var(--contact-orange);
  font-size: 21px;
}

.contact-page .contact-form-footer button:hover:not(:disabled) {
  background: #e94c19;
  border-color: #e94c19;
  transform: translateY(-2px);
}

.contact-page .contact-form-footer button:hover:not(:disabled) b {
  color: #fff;
}

.contact-page .contact-form-footer button:disabled {
  opacity: .6;
  cursor: wait;
}

.contact-page .contact-feedback {
  min-height: 20px;
  margin: -20px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.contact-page .contact-feedback[data-state="success"] {
  color: #176c41;
}

.contact-page .contact-feedback[data-state="error"] {
  color: #b42b20;
}

/* ROUTES */

.contact-page .contact-routes {
  padding: 110px var(--contact-pad) 145px;
  background: #080808;
}

.contact-page .contact-routes-heading {
  padding: 85px 0 75px;
}

.contact-page .contact-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  border-top: 1px solid var(--contact-line);
  border-left: 1px solid var(--contact-line);
}

.contact-page .contact-route {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  min-width: 0;
  min-height: 280px;
  padding: 34px;
  border-right: 1px solid var(--contact-line);
  border-bottom: 1px solid var(--contact-line);
  text-decoration: none;
  transition: background .25s ease;
}

.contact-page .contact-route:hover {
  background: #141210;
}

.contact-page .contact-route-index {
  color: var(--contact-orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.contact-page .contact-route strong {
  max-width: 100%;
  font-size: clamp(24px, 3.3vw, 52px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.contact-page .contact-route-caption {
  color: #96918a;
  font-size: 10px;
  letter-spacing: .14em;
}

.contact-page .contact-route b {
  position: absolute;
  right: 32px;
  top: 28px;
  color: var(--contact-orange);
  font-size: 28px;
  font-weight: 400;
  transition: transform .25s;
}

.contact-page .contact-route:hover b {
  transform: translate(4px,-4px);
}

/* CLOSING */

.contact-page .contact-closing {
  position: relative;
  isolation: isolate;
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  padding: 100px var(--contact-pad) 110px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 76% 50%, rgba(92,30,13,.35), transparent 48%),
    #080808;
}

.contact-page .contact-closing .contact-section-top {
  position: relative;
  z-index: 2;
}

.contact-page .contact-closing-content {
  position: relative;
  z-index: 2;
  margin: auto 0;
  padding: 90px 0;
}

.contact-page .contact-closing h2 {
  margin: 25px 0 35px;
  font-size: clamp(66px, 10vw, 165px);
  line-height: .86;
}

.contact-page .contact-closing-content > p:not(.eyebrow) {
  color: #aaa49d;
  font-size: 17px;
  line-height: 1.6;
}

.contact-page .contact-back {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  margin-top: 55px;
  padding-bottom: 13px;
  border-bottom: 1px solid #a7a09a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-decoration: none;
}

.contact-page .contact-back span {
  color: var(--contact-orange);
  font-size: 23px;
}

.contact-page .contact-closing-word {
  position: absolute;
  bottom: -5vw;
  right: -2vw;
  z-index: 0;
  color: rgba(255,255,255,.025);
  font-size: 20vw;
  font-weight: 900;
  letter-spacing: -.1em;
  white-space: nowrap;
  pointer-events: none;
}

/* FOOTER */

.contact-page .contact-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 35px var(--contact-pad);
  border-top: 1px solid var(--contact-line);
  background: #080808;
  color: #88837d;
  font-size: 11px;
  letter-spacing: .08em;
}

.contact-page .contact-footer a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* TABLET */

@media (max-width: 900px) {
  .contact-page .contact-hero {
    min-height: 100svh;
  }

  .contact-page .connect-mark {
    width: 56vw;
    right: -8vw;
    top: 36%;
    opacity: .42;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(55px, 11vw, 100px);
  }

  .contact-page .contact-intro-grid,
  .contact-page .contact-form-layout {
    grid-template-columns: minmax(0,1fr);
    gap: 55px;
    padding-top: 70px;
  }

  .contact-page .contact-form-note {
    margin-top: 35px;
  }

  .contact-page .contact-intro,
  .contact-page .contact-routes {
    padding-top: 90px;
    padding-bottom: 105px;
  }

  .contact-page .contact-form-section {
    padding-top: 90px;
    padding-bottom: 105px;
  }
}

/* SMARTPHONE */

@media (max-width: 600px) {
  .contact-page {
    --contact-pad: 22px;
    overflow-x: clip;
  }

  .contact-page .contact-hero {
    min-height: 100svh;
    padding: 110px 22px 45px;
  }

  .contact-page .contact-hero-top {
    font-size: 8px;
    letter-spacing: .11em;
  }

  .contact-page .contact-hero-top span:last-child {
    text-align: right;
  }

  .contact-page .connect-mark {
    width: min(72vw, 330px);
    right: -18vw;
    top: 37%;
    opacity: .34;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(43px, 11.1vw, 68px);
    line-height: .94;
    letter-spacing: -.065em;
  }

  .contact-page .contact-hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
    margin-top: 35px;
  }

  .contact-page .contact-hero-bottom p {
    font-size: 13px;
  }

  .contact-page .contact-scroll {
    gap: 25px;
    font-size: 10px;
  }

  .contact-page .contact-hero-watermark {
    font-size: 32vw;
    bottom: 14%;
  }

  .contact-page .contact-section-top {
    gap: 12px;
    padding-bottom: 16px;
    font-size: 9px;
    letter-spacing: .11em;
  }

  .contact-page .contact-section-top span:last-child {
    text-align: right;
  }

  .contact-page .contact-intro,
  .contact-page .contact-routes {
    padding: 80px 22px 95px;
  }

  .contact-page .contact-intro-grid,
  .contact-page .contact-form-layout {
    gap: 35px;
    padding-top: 55px;
  }

  .contact-page .contact-intro h2,
  .contact-page .contact-form-heading h2,
  .contact-page .contact-routes h2 {
    font-size: clamp(37px, 10.3vw, 58px);
    line-height: .97;
    overflow-wrap: anywhere;
  }

  .contact-page .contact-intro-copy {
    padding-top: 0;
  }

  .contact-page .contact-intro-copy > p {
    font-size: 16px;
  }

  .contact-page .contact-email {
    margin-top: 35px;
  }

  .contact-page .contact-email strong {
    font-size: 16px;
  }

  .contact-page .contact-form-section {
    padding: 80px 22px 95px;
  }

  .contact-page .contact-form-heading > p:not(.eyebrow) {
    margin-top: 25px;
    font-size: 15px;
  }

  .contact-page .contact-form {
    grid-template-columns: minmax(0,1fr);
    gap: 30px;
  }

  .contact-page .contact-field-full {
    grid-column: 1;
  }

  .contact-page .contact-form-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 25px;
  }

  .contact-page .contact-form-footer button {
    justify-content: space-between;
    width: 100%;
  }

  .contact-page .contact-routes-heading {
    padding: 55px 0 45px;
  }

  .contact-page .contact-route-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .contact-page .contact-route {
    min-height: 190px;
    padding: 25px;
  }

  .contact-page .contact-route strong {
    font-size: clamp(24px, 7vw, 37px);
  }

  .contact-page .contact-route b {
    right: 23px;
    top: 20px;
  }

  .contact-page .contact-closing {
    min-height: 75svh;
    padding: 75px 22px 90px;
  }

  .contact-page .contact-closing-content {
    padding: 80px 0;
  }

  .contact-page .contact-closing h2 {
    font-size: clamp(50px, 12vw, 78px);
    line-height: .94;
  }

  .contact-page .contact-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 22px;
  }
}

@media (max-width: 380px) {
  .contact-page .contact-hero h1 {
    font-size: 10.6vw;
  }

  .contact-page .contact-intro h2,
  .contact-page .contact-form-heading h2,
  .contact-page .contact-routes h2 {
    font-size: 9.5vw;
  }

  .contact-page .contact-closing h2 {
    font-size: 11.5vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
