/*
Theme Name: Cajal - Cittadini
Author: Santi
Version: 1.0
*/

/* =========================
   BASE
========================= */
*{
  box-sizing:border-box;
}

html, body{
  margin:0;
  padding:0;
}

body{
  font-family:'Lato', sans-serif;
  color:#1f4568;
  background:#ffffff;
  padding-top:108px;
}

a{
  text-decoration:none;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

.container{
  max-width:1200px;
  margin:0 auto;
}

/* =========================
   HEADER
========================= */
.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:#ffffff;
  box-shadow:0 2px 10px rgba(0,0,0,0.12);
  padding:10px 18px;
}

.header__container{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  position:relative;
}

.header__logo{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  min-width:0;
  flex:0 0 auto;
}

.header__img{
  width:auto;
  height:78px;
  max-width:none;
  flex:0 0 auto;
}

.header__title{
  display:inline-block;
  font-size:22px;
  line-height:1.15;
  font-weight:700;
  color:#1f4568;
  margin:0;
}

.header__light{
  color:#8198ae;
}

.header__toggle{
  display:none;
  width:42px;
  height:42px;
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
  flex:0 0 auto;
}

.header__toggle span{
  display:block;
  width:24px;
  height:2px;
  margin:5px auto;
  background:#1f4568;
  border-radius:2px;
}

.header__menu{
  flex:1 1 auto;
}

.header__nav{
  width:100%;
}

.header__elenco{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:28px;
}

.header__elenco li{
  list-style:none;
  margin:0;
  padding:0;
}

.header__elenco li a{
  color:#1f4568;
  font-size:15px;
  font-weight:500;
  text-decoration:none;
  white-space:nowrap;
}

.header__elenco li a:hover{
  color:#3a9fff;
}

/* =========================
   HERO
========================= */
.site{
  text-align:center;
}

.site__title{
  font-size:30px;
  margin:0;
}

.site__subtitle{
  font-size:22px;
  color:#8198ae;
  margin:15px 0 25px 0;
}

.site__text{
  max-width:800px;
  margin:30px auto 0 auto;
  color:#8198ae;
  font-size:16px;
  line-height:1.8;
}

.site__text p{
  margin:0 0 18px 0;
}

/* =========================
   BOTONES
========================= */
.btn{
  background-color:#3a9fff;
  border-radius:20px;
  padding:10px 25px;
  color:#fff;
  box-shadow:0 18px 13px -6px rgba(0,0,0,0.2);
  transition:all 0.3s;
  display:inline-block;
  border:none;
  cursor:pointer;
}

.btn:hover{
  background-color:#63b2fc;
  color:#fff;
}

.btn--revert{
  background:transparent;
  color:#8198ae;
  border:1px solid #c9d9e9;
  box-shadow:none;
}

.btn--revert:hover{
  color:#1f4568;
  border:1px solid #8198ae;
  background:transparent;
}

.btn--white{
  background:#fff;
  color:#8198ae;
  box-shadow:none;
}

.btn--width{
  min-width:160px;
}

/* =========================
   SECCIONES
========================= */
.sect{
  padding:80px 0;
}

.sect--white{
  background:#fff;
}

.sect--violet{
  background:#6f79ff;
  color:#fff;
}

.row__title{
  text-align:center;
  font-size:26px;
  margin:0 0 10px 0;
}

.row__sub{
  text-align:center;
  font-size:18px;
  color:#8198ae;
  margin:0;
}

/* =========================
   DIAGNOSTICO
========================= */
.diag-box{
  background:#fff;
  border-radius:6px;
  box-shadow:0 4px 12px rgba(0,0,0,0.12);
  padding:30px;
}

.diag-question{
  margin-bottom:22px;
}

.diag-question__title{
  font-size:16px;
  font-weight:600;
  margin:0 0 10px 0;
}

.diag-options{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.diag-option{
  flex:1 1 45%;
  background:#f5f7fb;
  padding:8px 10px;
  border-radius:6px;
  font-size:13px;
  cursor:pointer;
}

.diag-option:hover{
  border:1px solid #3a9fff;
}

.diag-result{
  margin-top:15px;
  font-size:13px;
  color:#8198ae;
  border-top:1px solid #e0e6f0;
  padding-top:12px;
}

/* =========================
   CONTACTO
========================= */
.contact-layout{
  display:flex;
  gap:30px;
  max-width:1200px;
  margin:0 auto;
  padding:60px 20px;
}

.contact-map{
  width:50%;
  min-height:500px;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,0.12);
}

.contact-form-box{
  width:50%;
  background:#ffffff;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,0.12);
  padding:30px;
}

/* =========================
   CTA FINAL
========================= */
.career_title{
  font-size:28px;
  text-align:center;
  margin:0 0 10px 0;
}

.career_sub{
  font-size:22px;
  text-align:center;
  margin:0 0 30px 0;
}

.career-img{
  position:absolute;
  bottom:0;
  width:65%;
  left:20%;
  pointer-events:none;
}

/* =========================
   FOOTER
========================= */
.footer{
  background-color:#1f4467;
  padding:20px 0;
  color:#fff;
}

.footer__text{
  margin:0;
  font-size:14px;
  color:#d9e6f2;
  text-align:center;
}

.footer__link{
  color:#ffffff;
  font-weight:600;
  text-decoration:none;
}

.footer__link:hover{
  color:#63b2fc;
}

/* =========================
   DESKTOP
========================= */
@media (min-width:769px){
  .header__menu{
    display:block !important;
    position:static !important;
    background:transparent !important;
    box-shadow:none !important;
    padding:0 !important;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width:768px){

  body{
    padding-top:92px;
  }

  .header{
    padding:10px 14px;
  }

  .header__container{
    flex-wrap:nowrap;
    gap:12px;
  }

  .header__img{
    height:58px;
  }

  .header__title{
    font-size:16px;
  }

  .header__toggle{
    display:block;
    margin-left:auto;
  }

  .header__menu{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    left:0;
    background:#ffffff;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
    padding:12px 16px;
    flex:none;
  }

  .header__menu.is-open{
    display:block;
  }

  .header__nav{
    width:100%;
    display:block;
  }

  .header__elenco{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:0;
    width:100%;
  }

  .header__elenco li{
    width:100%;
    border-bottom:1px solid #e9eef5;
  }

  .header__elenco li:last-child{
    border-bottom:none;
  }

  .header__elenco li a{
    display:block;
    width:100%;
    padding:12px 0;
    font-size:16px;
    white-space:normal;
  }

  .diag-option{
    flex:1 1 100%;
  }

  .contact-layout{
    flex-direction:column;
  }

  .contact-map,
  .contact-form-box{
    width:100%;
  }

  .contact-map{
    min-height:300px;
  }

  .career_title{
    font-size:22px;
  }

  .career_sub{
    font-size:16px;
  }
  /* CONTENEDOR GENERAL */
.eqa-form {
  max-width: 900px;
  margin: 0 auto;
}

/* SACAR ESTILO BASE DE FORMINATOR */
.eqa-form .forminator-ui {
  background: transparent !important;
  box-shadow: none !important;
}

/* GRID DE CAMPOS (para que queden 2 columnas como tu diseño) */
.eqa-form .forminator-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.eqa-form .forminator-col {
  flex: 1;
  min-width: 260px;
}

/* CAMPOS GENERALES */
.eqa-form input {
  background: #f3f4f6 !important;
}
.eqa-form select,
.eqa-form textarea {
  width: 100% !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 16px !important;
  font-size: 14px !important;
  background: #f3f4f6 !important;
  color: #374151 !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
  transition: all .2s ease;
}

/* HOVER / FOCUS */
.eqa-form input:focus,
.eqa-form select:focus,
.eqa-form textarea:focus {
  outline: none !important;
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.2),
              0 4px 12px rgba(0,0,0,0.1) !important;
}

/* TEXTAREA GRANDE */
.eqa-form textarea {
  min-height: 180px;
  resize: vertical;
}

/* LABELS */
.eqa-form .forminator-label {
  display: none !important; 
  /* porque estás usando placeholder como en tu diseño */
}

/* SELECT (dropdown como el primero) */
.eqa-form select {
  appearance: none;
}

/* BOTÓN */
.eqa-form button[type="submit"] {
  background: #c4892f !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 16px 28px !important;
  font-size: 15px !important;
  font-weight: 600;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all .2s ease;
}

.eqa-form button[type="submit"]:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* MENSAJES */
.eqa-form .forminator-response-message {
  border-radius: 12px;
  padding: 14px;
  margin-top: 20px;
}

/* ERRORES */
.eqa-form .forminator-error-message {
  font-size: 12px;
  color: #dc2626 !important;
  margin-top: 6px;
}
}
