/* RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  color: #111;
}

/* CONTENEDOR */
.page-wrap {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  background: white;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 34px;
  width: auto;
  display: block;
}

/* MENU */
.menu a {
  margin-left: 16px;
  text-decoration: none;
  color: #555;
  font-size: 14px;
}

.menu a:hover {
  color: #000;
}

/* CARD */
.card {
  background: white;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* TITULOS */
h1 {
  margin-top: 0;
  margin-bottom: 8px;
}

.sub {
  color: #666;
  margin-bottom: 20px;
}

/* INPUTS */
input,
select {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: white;
}

/* BOTONES */
.buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

button {
  padding: 14px 20px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: #111;
  color: white;
}

button:hover {
  opacity: 0.9;
}

/* RESULTADOS */
#resultado {
  margin-top: 20px;
  min-height: 40px;
}

/* TARJETAS */
.gas-card {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  line-height: 1.6;
}

.top-badge {
  display: inline-block;
  background: #111;
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.rotulo {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 6px;
}

.precio {
  font-size: 18px;
  font-weight: bold;
}

.muted {
  color: #666;
}

/* LINKS */
a {
  color: #111;
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ESTADOS */
.estado {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 14px;
}

/* SEO TEXT */
.seo-text {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 0 20px;
}

.seo-card {
  background: white;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.seo-card h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.seo-card p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}

.seo-card p:last-child {
  margin-bottom: 0;
}

.legal-card h1 {
  margin-top: 0;
  margin-bottom: 20px;
}

.legal-card h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 22px;
}

.legal-card p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

/* FAQ */
.faq {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 0 20px;
}

.faq-card {
  background: white;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.faq-card h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.faq-item p {
  margin: 0;
  color: #555;
  line-height: 1.7;
}

/* FOOTER */
.footer {
  margin: 40px 0;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.footer a {
  color: #666;
  margin: 0 6px;
}

.footer a:hover {
  color: #000;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }

  .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu a {
    margin: 6px;
  }

  .logo img {
    height: 30px;
  }
}