/* CSS originale del widget Elementor OMU: footer */

@font-face {
  font-family: "Bugrino";
  src: url("../fonts/Bugrino-Bold.woff") format("woff");
  font-weight: bold; font-style: normal; font-display: swap;
}

/* --- VARIABILI E BASE --- */
.omu-footer-wrap {
  --mint: #00f0bd;
  --rust: #b95b00;
  --beige: #efd3bf;
  --white: #ffffff;
  --white-70: rgba(255, 255, 255, 0.7);
  width: 100%; background: #000; color: var(--white);
  container-type: inline-size; font-family: Arial, sans-serif;
  box-sizing: border-box;
}

.omu-footer-wrap *, .omu-footer-wrap *:before, .omu-footer-wrap *:after { box-sizing: inherit; }
.omu-footer-wrap a { color: inherit; text-decoration: none; }

/* --- LAYOUT DESKTOP PROPORZIONATO --- */
.omu-footer {
  padding: 90px 4.3cqw 40px;
  display: grid; 
  grid-template-columns: 1fr 1.5fr; 
  column-gap: 8cqw; 
  row-gap: 60px;
}

/* Colonna Sinistra: Info, Bottone, Newsletter */
.omu-footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.omu-footer-info { 
  font-size: 15px; 
  line-height: 1.6; 
  color: var(--white-70);
}

.omu-footer-info strong { 
  color: #fff; 
  display: block; 
  margin-bottom: 0.3em; 
  font-weight: normal;
}

.omu-sede-item {
  margin-bottom: 30px;
}

.omu-pill {
  display: inline-block; background: var(--mint); color: #000 !important;
  border-radius: 14px; padding: 12px 32px;
  font-size: 16px; font-weight: normal;
  transition: transform 0.3s ease; cursor: pointer;
  align-self: flex-start;
}

.omu-footer-newsletter {
  width: 100%;
  max-width: 320px;
  margin-top: auto;
}

.omu-footer-newsletter label {
  display: block;
  font-size: 14px;
  color: var(--white-70);
  margin-bottom: 20px;
}

.omu-newsletter-form {
  display: flex;
  border-bottom: 1px solid var(--mint);
  padding-bottom: 5px;
  align-items: center;
}

.omu-newsletter-form input {
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
  flex: 1;
  font-size: 15px;
}

.omu-newsletter-form button {
  background: transparent;
  border: none;
  color: var(--mint);
  font-size: 16px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  padding: 0 5px;
}

/* Colonna Destra: Brand */
.omu-footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.omu-footer-brand img { 
  width: 100%; 
  height: auto;
  /* RIMOSSO filter: invert(1); per permettere al logo bianco di vedersi correttamente */
  display: block; 
}

.omu-footer-brand h2 {
  margin: 20px 0 0; 
  font-family: "Bugrino", sans-serif;
  font-size: 5.2cqw; 
  line-height: 1;
  font-weight: bold;
  color: #fff;
  text-transform: none;
  white-space: nowrap;
}

/* Barra Inferiore */
.omu-footer-bottom {
  grid-column: 1 / 3; 
  display: grid;
  grid-template-columns: 1fr 1.5fr; 
  column-gap: 8cqw;
  padding-top: 40px; 
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 13px;
  color: var(--white-70);
}

.omu-footer-bottom .omu-socials {
  display: flex;
  justify-content: space-between; 
  width: 100%;
}

.omu-footer-bottom .omu-socials span {
  cursor: pointer;
}

/* --- LAYOUT MOBILE --- */
@media (max-width: 767px) {
  .omu-footer { 
    display: flex; 
    flex-direction: column; 
    padding: 60px 6cqw 40px; 
    gap: 50px;
  }
  
  .omu-footer-brand { 
    order: 1; 
  }
  
  .omu-footer-brand h2 {
    font-size: 8cqw;
    margin-top: 15px;
  }

  .omu-footer-left {
    order: 2;
    gap: 40px;
  }
  
  .omu-pill { 
    display: flex; 
    justify-content: center; 
    width: 100%; 
  }

  .omu-footer-newsletter {
    max-width: 100%;
  }

  .omu-footer-bottom { 
    order: 3; 
    display: flex;
    flex-direction: column; 
    gap: 25px; 
    padding-top: 30px;
  }

  .omu-footer-bottom .omu-socials {
    justify-content: flex-start;
    gap: 30px;
  }
}

/* --- STILE POPUP COORDINATO --- */
#elementor-popup-modal-694 .dialog-widget-content {
    background-color: #ffffff !important;
    width: 88vw !important;
    max-width: 440px !important;
    padding: clamp(25px, 5cqw, 40px) !important;
    border-radius: 4.5cqw 0 4.5cqw 4.5cqw !important;
    box-sizing: border-box !important;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15) !important;
}

.elementor-694 .elementor-field-textual {
    font-family: Arial, sans-serif !important;
    background-color: #f7f7f7 !important;
    border: none !important;
    border-bottom: 1px solid #000 !important;
    padding: 15px 12px !important;
}

.elementor-694 .elementor-button {
    background-color: var(--mint) !important;
    color: #000 !important;
    font-family: Arial, sans-serif !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    width: 100% !important;
}

#elementor-popup-modal-694 {
    background-color: rgba(239, 211, 191, 0.8) !important;
    backdrop-filter: blur(4px);
}
