
h1,h2  {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: #212529;
}

.page {
    background-color: rgb(235, 232, 232);
    
}

header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(161, 235, 70);
    padding: 10px;
}

.logo {
    width: 70x;
    height: 70px;
}

nav ul {
    display: flex;
    list-style: none;

}

nav a {
    margin: 0 10px;
    text-decoration: none;
    padding: 10px;
    border-radius: 3px;
    background-color:aliceblue;
}

.autos {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px;
}

.auto {
  display: flex;
  align-items: center;
  gap: 24px;
}

.auto.reverse {
  flex-direction: row-reverse;
}

.auto img {
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.specs {
  flex: 1;
  background: #f8f8f8;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 18px 20px;
}

.specs h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
  color: #212529;
}

.specs ul {
  margin: 0;
  padding-left: 18px; 
  list-style: none; 
}

.specs ul li {
  margin: 8px 0;
  line-height: 1.45;
  font-size: 16px;
}

.btn-reservar {
  margin-top: 12px;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  background: rgb(161, 235, 70); /* Verde GoAuto */
  color: #2a2a2a;
  transition: filter .2s ease;
}
.btn-reservar:hover { filter: brightness(0.95); }


footer {
    background-color: rgb(161, 235, 70);
    padding: 20px 0;
}

.pie-pagina {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pie-pagina p {
    text-align: center;
    flex: 1;
}

.redes-sociales {
    display: flex;
    gap: 10px;
}

.redes-sociales img {
    height: 5vh;
}

@media (max-width: 992px) {
  .auto img { max-width: 48%; }
}

@media (max-width: 768px) {
  .auto, .auto.reverse { flex-direction: column; }
  .auto img { max-width: 100%; }
  .specs { width: 100%; }
}