/* Variables */
:root{
  --main-color: #EB7D10;
  --secondary-color: #fad0b6;
  --dark: #2e2e2e;
  --text: #555;
  --white: #fff;
}

.sectionPrincipal_presupuesto{
    height: 60vh;
    background: url(../../img/subpag/presupuesto/318-IMG_4209-HDR.jpg) center/cover;
    display: flex;
    align-items: center;
    padding-left: 10%;
    position: relative;
}


/* TITULO */
.sectionPrincipal_presupuesto .hero-text{
    position: absolute;
    top: 45%;
    left: 25%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: left;
}

.sectionPrincipal_presupuesto #title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.sectionPrincipal_presupuesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.hero-text {
  position: relative;
  color: white;
  max-width: 500px;
}

.hero-text h2 {
  font-size: 42px;
  margin-bottom: 18px;
}

.hero-text hr {
  width: 80px;
  border: 2px solid var(--main-color);
  position: relative;
  bottom: 3vh;
}


#form-section{
    padding: 80px 10%;
    background: #f5f5f5;
}

/* CONTENEDOR PRINCIPAL */
.form-container{
    display: flex;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    min-height: 600px;
}

/* FORMULARIO */
.form-container form{
    flex: 1;
    padding: 60px;
}

/* TÍTULO */
.form-container h2{
    font-size: 28px;
    color: #2e2e2e;
    height: 8vh;
}

/* LABEL */
form label{
    font-size: 13px;
    margin: 10px 0 5px;
    color: #555;
}

/* INPUTS */
form input,
form select,
form textarea{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
}

/* FOCUS PRO */
form input:focus,
form select:focus,
form textarea:focus{
    border-color: #EB7D10;
    box-shadow: 0 0 10px rgba(235,125,16,0.25);
}

/* TEXTAREA */
textarea{
    min-height: 120px;
    resize: none;
}

/* BOTÓN */
form button{
    margin-top: 20px;
    padding: 14px;
    background: #EB7D10;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover{
    background: #ff914d;
    transform: translateY(-2px);
}

form #liniea_medio{
    position: relative;
    bottom: 1.5%;

}

/* 🖼️ IMAGEN DERECHA MEJORADA */
#image{
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* IMAGEN */
#image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: 0.5s;
}

/* OVERLAY PRO */
#image::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.45)
    );
}

/* HOVER SUAVE */
#image:hover img{
    transform: scale(1.1);
}





/* SECCION VACIO */
main #vacio{
  width: 100%;
  height: 50vh;
}

/* SECTION VACIO - CONTENEDOR */
main #vacio div {
  height: 100%;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20%;
  text-align: center;
}

/* SECTION VACIO - TEXTO */
main #vacio div h2{
  font-size: 28px;
  font-weight: 600;
  color: #333;
  line-height: 1.6;
  letter-spacing: 1px;
}
