body{
background:#f6f7fb;
font-family:system-ui;
padding-top:60px;
}

header{
text-align:center;
margin-bottom:40px;
}

.card{
background:white;
padding:20px;
border-radius:10px;
width:100%;
max-width:300px;
box-sizing: border-box;
}

label{
display:block;
margin-top:10px;
}

input{
width:100%;
padding:8px;
margin-top:5px;
}

button{
margin-top:15px;
background:#007BFF;
color:white;
border:none;
border-radius:5px;
}

.navbar-brand{
font-weight:600;
}

.hero{
padding:80px 0;
text-align:center;
}

.card-calculadora{
transition:0.2s;
}

.card-calculadora:hover{
transform:translateY(-5px);
}

.result-card{
border-left:4px solid #0d6efd;
}

.autocomplete-wrapper{
position:relative;
}

.autocomplete-results{
position:absolute;
top:100%;
left:0;
right:0;
background:white;
border:1px solid #ddd;
border-top:none;
z-index:1000;
max-height:40vh;
overflow-y:auto;
}

@media (max-width: 600px) {
  .autocomplete-results {
	max-height: 60vh;
  }
}

.autocomplete-item{
padding:10px;
cursor:pointer;
border-bottom:1px solid #eee;
}

.autocomplete-item:hover{
background:#f2f6ff;
}

.footer-links{
list-style:none;
padding:0;
margin:0;
}

.footer-links li{
margin-bottom:8px;
}

.footer-links a{
text-decoration:none;
color:#555;
font-size:0.95rem;
transition:all 0.2s ease;
}

.footer-links a:hover{
color:#0d6efd;
text-decoration:underline;
}

footer h6{
font-weight:600;
margin-bottom:12px;
}

footer{
background:#f8f9fa;
}

/* NAVBAR */

.logo-navbar{
height:40px;
}

/* HERO */

.hero{
padding-top:140px;
padding-bottom:80px;
max-width:900px;
margin:auto;
}

.hero-logo img{
height:80px;
margin-bottom:20px;
}

.hero-title{
font-size:2.6rem;
font-weight:600;
margin-bottom:20px;
}

.hero-subtitle{
font-size:1.2rem;
color:#666;
max-width:650px;
margin:auto;
margin-bottom:30px;
}

.hero-button{
padding:14px 32px;
font-size:1.1rem;
}

/* CARDS */

.calculator-card{
border:0;
box-shadow:0 8px 24px rgba(0,0,0,0.06);
border-radius:12px;
transition:all .25s ease;
}

.calculator-card:hover{
transform:translateY(-5px);
box-shadow:0 12px 32px rgba(0,0,0,0.1);
}

/* FOOTER */

footer{
background:#f8f9fa;
}

footer h5,
footer h4{
font-weight:600;
margin-bottom:12px;
}

.footer-links{
list-style:none;
padding:0;
}

.footer-links li{
margin-bottom:8px;
}

.footer-links a{
text-decoration:none;
color:#555;
font-size:0.95rem;
transition:all .2s ease;
}

.footer-links a:hover{
color:#0d6efd;
text-decoration:underline;
}

.grafico-container{
    max-width:280px;
    margin:auto;
}