/* =========================================================
   CONTATTI — CSS COMPLETO (stesso stile home/chi-siamo)
   Namespace: .vh-contacts
   File: assets/css/contatti.css
   ========================================================= */

html, body{
  background:#070A12;
  overflow-x:hidden;
}

/* =========================
   VARS
   ========================= */
:root{
  --vh-hero-top: 18px;
  --vh-hero-bottom: 26px;

  --vh-btn-pad-y: 10px;
  --vh-btn-pad-x: 14px;
  --vh-btn-radius: 12px;
  --vh-btn-bg: rgba(11,54,198,.18);
  --vh-btn-bg-hover: rgba(11,54,198,.24);
  --vh-btn-border: rgba(11,54,198,.26);
  --vh-btn-text: rgba(255,255,255,.92);

  --vh-card-bg: rgba(255,255,255,.04);
  --vh-card-border: rgba(255,255,255,.08);
  --vh-card-shadow: 0 22px 60px rgba(0,0,0,.35);

  --vh-wrap-max: 1180px;
  --vh-wrap-pad: 18px;
}

/* =========================
   PAGE BASE + BACKGROUND
   ========================= */
.vh-contacts{
  position: relative;
  color:#fff;

  background:
    radial-gradient(900px 480px at 20% 10%, rgba(48, 86, 255, .25), transparent 60%),
    radial-gradient(700px 420px at 80% 30%, rgba(11, 54, 198, .22), transparent 60%),
    radial-gradient(900px 600px at 50% 90%, rgba(0,0,0,.75), transparent 60%),
    linear-gradient(#070A12, #05060C);
}

.vh-contacts::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 0;
  opacity: .55;
  background-image: url("../img/home/clouds.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.vh-contacts > *{
  position: relative;
  z-index: 1;
}

.vh-contacts .vh-wrap{
  width: 100%;
  max-width: var(--vh-wrap-max);
  margin: 0 auto;
  padding-left: var(--vh-wrap-pad);
  padding-right: var(--vh-wrap-pad);
}

/* azzera eventuali wrapper del tema */
.vh-contacts,
.vh-contacts#content,
#content.vh-contacts{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.vh-contacts .site-content,
.vh-contacts .content-area,
.vh-contacts #primary,
.vh-contacts .site-main{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =========================
   BUTTONS — tutti uguali
   ========================= */
.vh-contacts .vh-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;

  color: var(--vh-btn-text);
  text-decoration:none;

  font-weight:500;
  font-size:14px;
  line-height: 1;

  padding: var(--vh-btn-pad-y) var(--vh-btn-pad-x);
  border-radius: var(--vh-btn-radius);

  background: var(--vh-btn-bg);
  border: 1px solid var(--vh-btn-border);

  width: fit-content;
  white-space: nowrap;
}

.vh-contacts .vh-btn--primary{
  background: var(--vh-btn-bg);
  border: 1px solid var(--vh-btn-border);
  box-shadow:none;
}

.vh-contacts .vh-btn:hover{
  background: var(--vh-btn-bg-hover);
}

.vh-contacts .vh-arrow{
  width: 10px;
  height: 10px;
  display:inline-block;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

/* =========================
   KICKER / TITLES
   ========================= */
.vh-contacts .vh-kicker{
  display:inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  font-weight: 800;
}

.vh-contacts .vh-section__title{
  font-size: clamp(26px, 3.2vw, 40px);
  margin: 0 0 10px;
  letter-spacing: -0.6px;
  font-weight: 850;
}

.vh-contacts .vh-section__subtitle{
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}

/* =========================
   HERO
   ========================= */
.vh-contacts .vh-hero{
  padding-top:100px;
}

@media (max-width: 1024px){
.vh-contacts .vh-hero{
  padding-top: 30px;
}
}

.vh-contacts .vh-hero__inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items:center;
}

.vh-contacts .vh-hero__title{
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.8px;
  font-weight: 800;
}

.vh-contacts .vh-hero__lead{
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  max-width: 640px;
}

.vh-contacts .vh-hero__cta{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
}

.vh-contacts .vh-hero__art{
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  justify-self: end;
  max-width: 560px;
}

.vh-contacts .vh-hero__art img{
  width: 100%;
  height: auto;
  display:block;
}

/* =========================
   SECTIONS
   ========================= */
.vh-contacts .vh-section{
  padding: 28px 0 30px;
}

.vh-contacts .vh-section__head{
  text-align:center;
  margin: 0 auto 22px;
  max-width: 820px;
}

/* =========================
   CARDS (glass)
   ========================= */
.vh-contacts .vh-cards{
  display:grid;
  gap: 16px;
}

.vh-contacts .vh-cards--2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.vh-contacts .vh-cards--3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.vh-contacts .vh-cards--4{ grid-template-columns: repeat(4, minmax(0,1fr)); }

.vh-contacts .vh-card{
  border-radius: 18px;
  background: var(--vh-card-bg);
  border: 1px solid var(--vh-card-border);
  box-shadow: var(--vh-card-shadow);
  overflow:hidden;
  padding: 16px;
  backdrop-filter: blur(6px);

  display:flex;
  flex-direction: column;
  min-width: 0;
}

.vh-contacts .vh-card__media{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.28);
}

.vh-contacts .vh-card__media img{
  width: 100%;
  height: auto;
  display:block;
}

.vh-contacts .vh-card__title{
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.vh-contacts .vh-card__text{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.72);
}

.vh-contacts .vh-card .vh-btn{
  margin-top: auto; /* bottone sempre in fondo */
}

/* =========================
   SPLIT GRID (FORM + DETAILS)
   ========================= */
.vh-contacts .vh-contacts__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: start;
}

.vh-contacts .vh-contacts__form{
  overflow: visible;
}

.vh-contacts .vh-contacts__details{
  overflow: visible;
}

.vh-contacts .vh-contacts__list{
  display:flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

/* label sopra bottone */
.vh-contacts .vh-contact-row{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.vh-contacts .vh-contact-label{
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  font-weight: 800;
}

/* =========================
   FORM PLUGINS (Contact Form 7 / WPForms / Elementor Forms)
   Rendiamo tutto coerente “glass”
   ========================= */

/* blocchi che spesso i plugin mettono */
.vh-contacts .vh-contacts__form-inner,
.vh-contacts .wpcf7,
.vh-contacts .wpforms-container,
.vh-contacts .elementor-form{
  width: 100%;
}

/* input / textarea / select */
.vh-contacts input[type="text"],
.vh-contacts input[type="email"],
.vh-contacts input[type="tel"],
.vh-contacts input[type="url"],
.vh-contacts input[type="password"],
.vh-contacts input[type="search"],
.vh-contacts select,
.vh-contacts textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.92);
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
}

.vh-contacts textarea{ min-height: 140px; resize: vertical; }

.vh-contacts input::placeholder,
.vh-contacts textarea::placeholder{
  color: rgba(255,255,255,.55);
}

/* focus */
.vh-contacts input:focus,
.vh-contacts select:focus,
.vh-contacts textarea:focus{
  border-color: rgba(11,54,198,.55);
  box-shadow: 0 0 0 3px rgba(11,54,198,.22);
}

/* righe/label plugin */
.vh-contacts label,
.vh-contacts .wpcf7-form label,
.vh-contacts .wpforms-field-label{
  display:block;
  margin: 0 0 8px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 600;
}

/* spazi tra campi (molti plugin usano <p>) */
.vh-contacts .wpcf7-form p{
  margin: 0 0 12px;
}

/* messaggi plugin */
.vh-contacts .wpcf7-response-output{
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.86);
  padding: 12px 12px;
  margin: 14px 0 0;
}

/* bottone submit: uguale ai tuoi */
.vh-contacts button,
.vh-contacts input[type="submit"],
.vh-contacts .wpcf7-submit,
.vh-contacts .wpforms-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding: var(--vh-btn-pad-y) var(--vh-btn-pad-x);
  border-radius: var(--vh-btn-radius);

  background: var(--vh-btn-bg);
  border: 1px solid var(--vh-btn-border);
  color: var(--vh-btn-text);

  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  cursor: pointer;
}

.vh-contacts button:hover,
.vh-contacts input[type="submit"]:hover,
.vh-contacts .wpcf7-submit:hover,
.vh-contacts .wpforms-submit:hover{
  background: var(--vh-btn-bg-hover);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px){
  .vh-contacts .vh-hero__inner{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .vh-contacts .vh-hero__art{
    justify-self: center;
    margin: 0 auto;
    max-width: 520px;
  }

  .vh-contacts .vh-cards--4,
  .vh-contacts .vh-cards--3,
  .vh-contacts .vh-cards--2{
    grid-template-columns: 1fr;
  }

  .vh-contacts .vh-contacts__grid{
    grid-template-columns: 1fr;
  }

  /* bottoni full width su tablet/mobile */
  .vh-contacts .vh-btn,
  .vh-contacts button,
  .vh-contacts input[type="submit"],
  .vh-contacts .wpcf7-submit,
  .vh-contacts .wpforms-submit{
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px){
  .vh-contacts{ --vh-hero-top: 14px; }

  .vh-contacts .vh-hero__lead{
    font-size: 15px;
  }

  .vh-contacts .vh-hero__copy,
  .vh-contacts .vh-section__head,
  .vh-contacts .vh-card{
    text-align:center;
  }

  .vh-contacts .vh-hero__cta{
    justify-content:center;
  }

  .vh-contacts::before{
    background-position: center top;
    background-size: cover;
  }
}
