:root{
  --primary:#f57c00;
  --primary-dark:#e65100;
  --text:#333;
  --light:#f9f9f9;
  --white:#ffffff;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family: 'Segoe UI', Arial, sans-serif;
  color:var(--text);
  line-height:1.6;
  background:#fff;
}

/* HERO */
header{
  background:url('../images/peritaje-inspeccion.webp') center/cover no-repeat;
  min-height:450px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  text-align:center;
  padding:2rem 1rem;
}

header::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.6);
}

.hero-content{
  position:relative;
  color:var(--white);
  max-width:850px;
}

.hero-content h1{
  font-size:2.6rem;
  margin-bottom:1rem;
}

.hero-content p{
  font-size:1.2rem;
  margin-bottom:2rem;
}

.cta-hero{
  display:inline-block;
  background:var(--primary);
  color:var(--white);
  padding:1rem 2rem;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  transition:.3s ease;
}

.cta-hero:hover{
  background:var(--primary-dark);
  transform:translateY(-3px);
}

.container{
  max-width:1000px;
  margin:4rem auto;
  padding:0 1.5rem;
}

.info-box{
  background:var(--light);
  border-radius:10px;
  padding:2rem;
  margin-bottom:2rem;
  border:1px solid #eee;
  transition:.3s ease;
}

.info-box:hover{
  transform:translateY(-4px);
}

.info-box h2{
  margin-bottom:1rem;
  color:var(--primary);
}

.info-box ul{
  list-style:none;
}

.info-box li{
  margin-bottom:.6rem;
}

.pricing{
  background:#fff3e0;
  border-left:6px solid var(--primary);
  padding:2rem;
  font-size:1.2rem;
  margin:2rem 0;
  border-radius:6px;
}

.form-section{
  background:#fff;
  border:2px solid var(--primary);
  border-radius:12px;
  padding:2.5rem;
  box-shadow:0 15px 40px rgba(0,0,0,.08);
  margin-bottom:3rem;
}

.form-section h2{
  text-align:center;
  margin-bottom:2rem;
}

label{
  display:block;
  margin:1rem 0 .4rem;
  font-weight:600;
}

input, select{
  width:100%;
  padding:.85rem;
  border-radius:8px;
  border:1px solid #ccc;
  font-size:1rem;
  transition:.2s ease;
}

input:focus, select:focus{
  border-color:var(--primary);
  outline:none;
  box-shadow:0 0 0 3px rgba(245,124,0,.2);
}

button{
  width:100%;
  margin-top:2rem;
  background:var(--primary);
  color:var(--white);
  padding:1rem;
  border:none;
  border-radius:8px;
  font-size:1.1rem;
  font-weight:700;
  cursor:pointer;
  transition:.3s ease;
}

button:hover{
  background:var(--primary-dark);
  transform:translateY(-2px);
}

footer{
  background:#f5f5f5;
  text-align:center;
  padding:2rem 1rem;
  font-size:.95rem;
  color:#555;
}

@media(max-width:768px){
  .hero-content h1{
    font-size:2rem;
  }

  .hero-content p{
    font-size:1rem;
  }

  .container{
    margin:2.5rem auto;
  }

  .form-section{
    padding:1.8rem;
  }
}