﻿body.page-contatto{
  background:#f8f4ef !important;
  color:#111 !important;
}

body.page-contatto header{
  background:rgba(248,244,239,.97) !important;
  border-bottom:1px solid rgba(0,0,0,.08) !important;
}

body.page-contatto .logo-wm,
body.page-contatto .nav-link,
body.page-contatto .nav-search{color:#111 !important}

body.page-contatto .nav-link:hover,
body.page-contatto .nav-item:hover>.nav-link,
body.page-contatto .nav-link.active-page{color:#e8650a !important}

body.page-contatto .dropdown-l1,
body.page-contatto .dropdown-l2{
  background:#f8f4ef !important;
  border:1px solid rgba(0,0,0,.10) !important;
  box-shadow:0 20px 48px rgba(0,0,0,.10) !important;
}

body.page-contatto .dropdown-l1{border-top:2px solid #e8650a !important}
body.page-contatto .dropdown-l2{border-top:2px solid #f08a3a !important}

body.page-contatto .dropdown-l1>a,
body.page-contatto .dropdown-l1>.has-sub,
body.page-contatto .dropdown-l2>a{
  color:#111 !important;
  border-bottom-color:rgba(0,0,0,.06) !important;
}

body.page-contatto .dropdown-l1>a:hover,
body.page-contatto .dropdown-l1>.has-sub:hover,
body.page-contatto .dropdown-l2>a:hover{
  background:#fff2e8 !important;
  color:#e8650a !important;
}

body.page-contatto footer{
  background:#fff !important;
  border-top:1px solid rgba(0,0,0,.08) !important;
}

body.page-contatto .footer-brand{color:#111 !important}
body.page-contatto .fc{color:rgba(0,0,0,.56) !important}
body.page-contatto .flinks a{color:rgba(0,0,0,.56) !important}
body.page-contatto .flinks a:hover{color:#e8650a !important}

.ct-stage{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 78%, rgba(232,101,10,.24) 0%, rgba(232,101,10,.10) 18%, rgba(232,101,10,0) 42%),
    radial-gradient(circle at 70% 22%, rgba(255,155,108,.16) 0%, rgba(255,155,108,.06) 18%, rgba(255,155,108,0) 36%),
    radial-gradient(circle at 88% 88%, rgba(240,122,37,.10) 0%, rgba(240,122,37,0) 28%),
    linear-gradient(180deg,#fffdfa 0%, #fbf6f0 54%, #f7efe6 100%);
}

.ct-stage::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(232,101,10,.035) 1px,transparent 1px),
    linear-gradient(rgba(232,101,10,.035) 1px,transparent 1px);
  background-size:120px 120px;
  opacity:.22;
  pointer-events:none;
}

.ct-stage-inner{
  position:relative;
  z-index:1;
  max-width:1600px;
  margin:0 auto;
  padding:28px 48px 56px;
}

.ct-breadcrumb{
  margin-bottom:34px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  font-size:11px;
  font-weight:500;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:#263241 !important;
}

.ct-breadcrumb a{
  color:#263241 !important;
  text-decoration:none !important;
}

.ct-breadcrumb > span{
  color:rgba(0,0,0,.22) !important;
}

.ct-breadcrumb > span:not(.breadcrumb-current){
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:10px;
  margin:0 2px;
}

.ct-breadcrumb .breadcrumb-current{
  color:#222 !important;
}

.ct-breadcrumb a:hover{color:#e8650a !important}

.contact-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 0.94fr;
  gap:40px;
  align-items:stretch;
}

.contact-sidebar{
  padding:28px 36px 28px 36px;
  min-height:100%;
}

.ct-side-kicker{
  font-size:11px;
  font-weight:700;
  letter-spacing:3px;
  text-transform:uppercase;
  color:#e8650a;
  margin-bottom:20px;
}

.ct-side-title{
  font-family:'Barlow',sans-serif;
  font-size:clamp(48px,5.4vw,76px);
  font-weight:700;
  line-height:1.02;
  color:#111;
  margin-bottom:18px;
  max-width:720px;
}

.ct-side-script{
  font-family:"Brush Script MT","Segoe Script","Lucida Handwriting",cursive;
  font-size:clamp(54px,6vw,104px);
  line-height:.95;
  color:#e8650a;
  margin-bottom:28px;
  transform:rotate(-4deg);
  text-shadow:0 0 24px rgba(232,101,10,.16);
}

.ct-side-text{
  max-width:700px;
  font-size:16px;
  font-weight:400;
  line-height:1.8;
  color:#263241;
  margin:0 0 42px;
}

.ct-contact-band{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
  max-width:760px;
  border:1px solid rgba(232,101,10,.18);
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.76) 0%,rgba(255,247,241,.92) 100%);
  backdrop-filter:blur(3px);
  margin-bottom:34px;
  box-shadow:0 14px 34px rgba(232,101,10,.08);
}

.ct-contact-band-item{
  padding:24px 28px 26px;
}

.ct-contact-band-item + .ct-contact-band-item{
  border-left:1px solid rgba(232,101,10,.16);
}

.ct-contact-band-label{
  font-size:12px;
  font-weight:400;
  color:#263241;
  margin-bottom:18px;
}

.ct-contact-band-value{
  display:inline-block;
  color:#111;
  text-decoration:none;
  font-size:18px;
  font-weight:500;
  line-height:1.4;
}

.ct-contact-band-value:hover{color:#e8650a}

.ct-stat-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  max-width:780px;
}

.ct-stat-card{
  position:relative;
  overflow:hidden;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(232,101,10,.12);
  border-radius:18px;
  padding:20px 16px 18px;
  min-height:108px;
  box-shadow:0 14px 32px rgba(0,0,0,.04);
  transform:translateY(0);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease,background .28s ease;
  animation:ctStatReveal .7s ease both;
}

.ct-stat-card::before{
  content:"";
  position:absolute;
  inset:-35% auto auto -40%;
  width:72%;
  height:190%;
  background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.72) 48%,rgba(255,255,255,0) 100%);
  transform:rotate(18deg) translateX(-130%);
  transition:transform .6s ease;
  pointer-events:none;
}

.ct-stat-card:hover{
  transform:translateY(-8px);
  background:#fff;
  border-color:rgba(232,101,10,.24);
  box-shadow:0 24px 44px rgba(232,101,10,.16);
}

.ct-stat-card:hover::before{
  transform:rotate(18deg) translateX(260%);
}

.ct-stat-card:nth-child(1){animation-delay:.04s}
.ct-stat-card:nth-child(2){animation-delay:.12s}
.ct-stat-card:nth-child(3){animation-delay:.20s}
.ct-stat-card:nth-child(4){animation-delay:.28s}

.ct-stat-card:hover .ct-stat-num{
  color:#e8650a;
}

.ct-stat-num{
  font-family:'Barlow Condensed',sans-serif;
  font-size:64px;
  font-weight:700;
  line-height:.9;
  color:#111;
  margin-bottom:8px;
  transition:color .28s ease,transform .28s ease;
}

.ct-stat-text{
  font-size:11px;
  font-weight:400;
  line-height:1.45;
  color:#666;
  transition:color .28s ease;
}

.ct-stat-card:hover .ct-stat-num{
  transform:translateY(-2px);
}

.ct-stat-card:hover .ct-stat-text{
  color:#3f3f3f;
}

@keyframes ctStatReveal{
  from{
    opacity:0;
    transform:translateY(24px) scale(.96);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

.ct-side-meta{
  margin-top:26px;
}

.ct-side-meta-link{
  color:#e8650a;
  text-decoration:none;
  font-size:15px;
  font-weight:500;
}

.ct-side-meta-link:hover{text-decoration:underline}

.ct-side-meta-note{
  margin-top:8px;
  font-size:12px;
  color:#263241;
}

.contact-form-card{
  align-self:start;
  background:linear-gradient(180deg,rgba(255,255,255,.92) 0%,rgba(255,247,241,.98) 58%,rgba(255,241,229,.98) 100%);
  border-radius:20px;
  padding:40px 42px 34px;
  box-shadow:0 24px 60px rgba(232,101,10,.12);
  border:1px solid rgba(232,101,10,.14);
}

.contact-form-kicker{
  font-size:10px;
  font-weight:700;
  letter-spacing:2.5px;
  text-transform:uppercase;
  color:#9c5a31;
  margin-bottom:10px;
}

.contact-form-title{
  font-family:'Barlow',sans-serif;
  font-size:clamp(44px,4vw,60px);
  font-weight:700;
  line-height:1;
  color:#111;
  margin-bottom:16px;
}

.contact-form-lead{
  font-size:14px;
  font-weight:400;
  color:#263241;
  line-height:1.72;
  margin:0 0 24px;
  max-width:620px;
}

.form-alert{
  padding:16px 18px;
  margin-bottom:22px;
  border-left:3px solid;
  font-size:14px;
  line-height:1.6;
  background:rgba(255,255,255,.76);
}

.form-alert p{margin-top:6px}
.form-alert ul{margin:10px 0 0 18px}
.form-alert li{margin-bottom:4px}

.form-alert-success{
  border-color:#7cf0a8;
  color:#166534;
}

.form-alert-error{
  border-color:#ff8f8f;
  color:#991b1b;
}

.contact-form-grid{
  display:grid;
  gap:18px;
}

.contact-form-grid-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.field{margin-bottom:18px}

.field label{
  display:block;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  color:#111;
  margin-bottom:8px;
}

.field .req{color:#ff9b6c}

.field input,
.field textarea{
  width:100%;
  background:#fff;
  border:1px solid rgba(0,0,0,.14);
  color:#21313c;
  font-family:'Barlow',sans-serif;
  font-size:14px;
  font-weight:400;
  padding:14px 18px;
  border-radius:4px;
  transition:border-color .2s,box-shadow .2s,background .2s;
  outline:none;
}

.field input:focus,
.field textarea:focus{
  border-color:#e8650a;
  box-shadow:0 0 0 3px rgba(232,101,10,.14);
  background:#fff;
}

.field textarea{
  resize:vertical;
  min-height:132px;
  line-height:1.65;
}

.field input::placeholder,
.field textarea::placeholder{
  color:#263241;
  opacity:1;
}

.field .error{border-color:#d94343}
.field-error,.gdpr-error{margin-top:7px;font-size:12px;color:#b91c1c}
.field-error[hidden],.gdpr-error[hidden]{display:none}

.char-hint{
  text-align:right;
  font-size:11px;
  color:#666;
  margin-top:6px;
}

.char-hint.warn{color:#b45309}
.char-hint.over{color:#dc2626}

.gdpr-row{
  display:flex;
  gap:14px;
  align-items:flex-start;
  margin:4px 0 10px;
}

.gdpr-control{
  display:block;
  cursor:pointer;
  position:relative;
  width:20px;
  height:20px;
  flex:0 0 20px;
}

.gdpr-control input{
  position:absolute;
  inset:0;
  width:20px;
  height:20px;
  margin:0;
  opacity:0;
  cursor:pointer;
  z-index:2;
}

.custom-check{
  width:20px;
  height:20px;
  min-width:20px;
  background:#fff;
  border:2px solid #c8ced8;
  border-radius:2px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:border-color .2s,background .2s,box-shadow .2s;
  margin-top:2px;
  pointer-events:none;
}

.gdpr-control input:focus-visible+.custom-check{
  box-shadow:0 0 0 3px rgba(232,101,10,.2);
}

.gdpr-control input:checked+.custom-check{
  background:#e8650a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.2 7.2 12.4 14 5.6' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px 18px no-repeat;
  border-color:#e8650a;
}

.gdpr-control input:checked+.custom-check::after{
  content:none;
}

.custom-check.error{
  border-color:#dc2626;
  box-shadow:0 0 0 3px rgba(220,38,38,.12);
}

.gdpr-label{
  font-size:13px;
  color:#333;
  font-weight:400;
  line-height:1.6;
  cursor:pointer;
}

.gdpr-label a{
  color:#e8650a;
  text-decoration:none;
  border-bottom:1px solid rgba(232,101,10,.35);
}

.gdpr-label a:hover{border-bottom-color:#e8650a}

.btn-submit{
  width:220px;
  margin:16px auto 0;
  display:block;
  padding:14px 26px;
  background:#e8650a;
  color:#fff;
  font-size:14px;
  font-weight:700;
  letter-spacing:0;
  text-transform:none;
  border:none;
  border-radius:4px;
  cursor:pointer;
  transition:background .2s,transform .1s;
}

.btn-submit:hover{background:#f07a25}
.btn-submit:active{transform:translateY(1px)}
.btn-submit:disabled{background:#c7b5a7;cursor:not-allowed}

.hp-field{
  position:absolute;
  left:-9999px;
  top:-9999px;
  visibility:hidden;
}

.ct-partner-strip{
  position:relative;
  overflow:hidden;
  padding:0 0 64px;
  background:
    radial-gradient(circle at 10% 50%, rgba(232,101,10,.13) 0%, rgba(232,101,10,0) 34%),
    radial-gradient(circle at 88% 18%, rgba(255,168,115,.16) 0%, rgba(255,168,115,0) 30%),
    linear-gradient(180deg,#f7efe6 0%, #fffaf5 45%, #ffffff 100%);
}

.ct-partner-strip-inner{
  max-width:1600px;
  margin:0 auto;
  padding:0 48px;
}

.ct-partner-strip-copy{
  display:flex;
  align-items:end;
  justify-content:center;
  gap:24px;
  margin-bottom:24px;
  text-align:center;
}

.ct-partner-strip-title{
  margin:0;
  font-family:'Barlow',sans-serif;
  font-size:clamp(28px,3.4vw,42px);
  font-weight:700;
  line-height:1.08;
  color:#111;
  max-width:760px;
  margin-inline:auto;
}

.ct-partner-marquee{
  display:flex;
  gap:18px;
  overflow:hidden;
  padding:14px 0;
  mask-image:linear-gradient(90deg,transparent 0%,#000 8%,#000 92%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 8%,#000 92%,transparent 100%);
}

.ct-partner-track{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:max-content;
  flex:0 0 auto;
  animation:ctPartnerFlow 30s linear infinite;
}

.ct-partner-pill{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:190px;
  height:88px;
  padding:18px 30px;
  border-radius:22px;
  background:rgba(255,255,255,.9);
  border:1px solid color-mix(in srgb, var(--partner-accent) 26%, rgba(0,0,0,.06));
  box-shadow:
    0 18px 36px rgba(0,0,0,.05),
    0 0 0 1px rgba(255,255,255,.6) inset;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease;
}

.ct-partner-pill:hover{
  transform:translateY(-3px);
  border-color:color-mix(in srgb, var(--partner-accent) 56%, rgba(255,255,255,.22));
  box-shadow:
    0 22px 42px rgba(0,0,0,.08),
    0 12px 28px color-mix(in srgb, var(--partner-accent) 20%, transparent);
  background:#fff;
}

.ct-partner-logo{
  display:block;
  width:auto;
  max-width:132px;
  max-height:40px;
  object-fit:contain;
}

.ct-partner-logo-lg{
  max-width:168px;
  max-height:52px;
}

@keyframes ctPartnerFlow{
  from{transform:translateX(0)}
  to{transform:translateX(calc(-100% - 18px))}
}

@media(prefers-reduced-motion:reduce){
  .ct-partner-track{
    animation:none;
  }

  .ct-stat-card{
    animation:none;
    transition:none;
  }

  .ct-stat-card::before{
    transition:none;
  }

  .ct-stat-card:hover{
    transform:none;
  }

  .ct-stat-card:hover .ct-stat-num{
    transform:none;
  }
}

@media(max-width:1280px){
  .contact-layout{
    grid-template-columns:minmax(0,1fr) 520px;
    gap:28px;
  }

  .ct-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:620px;
  }
}

@media(max-width:980px){
  .ct-stage-inner{
    padding:22px 20px 42px;
  }

  .ct-partner-strip-inner{
    padding:0 20px;
  }

  .ct-partner-strip-copy{
    display:block;
  }

  .contact-layout{
    grid-template-columns:1fr;
    gap:28px;
  }

  .contact-sidebar{
    padding:12px 0 0;
  }

  .contact-form-card{
    padding:30px 24px 28px;
  }

  .contact-form-grid-2{
    grid-template-columns:1fr;
  }
}

@media(max-width:640px){
  .ct-side-title{
    font-size:42px;
  }

  .ct-side-script{
    font-size:56px;
    margin-bottom:20px;
  }

  .ct-contact-band{
    grid-template-columns:1fr;
  }

  .ct-contact-band-item + .ct-contact-band-item{
    border-left:none;
    border-top:1px solid rgba(255,255,255,.14);
  }

  .ct-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .ct-stat-num{
    font-size:48px;
  }

  .ct-partner-strip{
    padding-bottom:48px;
  }

  .ct-partner-marquee{
    gap:12px;
    mask-image:none;
    -webkit-mask-image:none;
  }

  .ct-partner-track{
    gap:12px;
    animation-duration:24s;
  }

  .ct-partner-pill{
    min-width:148px;
    height:74px;
    padding:14px 20px;
    border-radius:18px;
  }

  .ct-partner-logo{
    max-width:104px;
    max-height:32px;
  }

  .ct-partner-logo-lg{
    max-width:132px;
    max-height:40px;
  }

  .btn-submit{
    width:100%;
  }
}
