/* GasOnTheGo — gasonthego.nachodivasson.com
   La paleta sale del icono de la app: fondo #080C11, acento #35DE8A. */
:root {
  --bg: #080c11;
  --panel: #11161d;
  --panel-2: #161d26;
  --line: #1f2731;
  --ink: #e9edf3;
  --body: #cbd3de;
  --dim: #98a2b3;
  --accent: #35de8a;
  --accent-dim: #1c7a4e;
  --blue: #3f9bff;
  --warm: #f2a93b;
  --hot: #e8544c;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }

/* ---------- estructura ---------- */
.wrap { max-width: 46rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.wide { max-width: 60rem; }

/* ---------- cabecera ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8, 12, 17, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .inner {
  max-width: 60rem; margin: 0 auto; padding: .7rem 1.25rem;
  display: flex; align-items: center; gap: .7rem;
}
.topbar .brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.topbar .brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.topbar nav { margin-left: auto; display: flex; gap: 1.1rem; }
.topbar nav a { color: var(--dim); text-decoration: none; font-size: .92rem; }
.topbar nav a:hover, .topbar nav a[aria-current] { color: var(--accent); }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 4rem 1.25rem 2.5rem; max-width: 46rem; margin: 0 auto; }
.hero .appicon {
  width: 108px; height: 108px; border-radius: 24px; margin: 0 auto 1.5rem;
  display: block; box-shadow: 0 18px 50px rgba(53, 222, 138, .16), 0 2px 10px rgba(0,0,0,.5);
}
.hero h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 .8rem; color: #fff; }
.hero .sub { font-size: 1.15rem; color: var(--dim); margin: 0 auto 2rem; max-width: 34rem; }
.hero .accent { color: var(--accent); }

.badges { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .98rem; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #042015; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--panel); }
.btn-ghost:hover { border-color: var(--accent-dim); }
.soon { font-size: .82rem; color: var(--dim); margin-top: 1rem; }

/* ---------- precios, el lenguaje del mapa ---------- */
.pricerow { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2rem; }
.price {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: .35rem .8rem; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); color: var(--body);
  white-space: nowrap;
}
.price .cent { font-size: .74em; opacity: .85; }
.price.low { background: #0e3a26; border-color: #1d6440; color: #6ee49d; }
.price.mid { background: #382709; border-color: #6b4d12; color: var(--warm); }
.price.high { background: #3a1512; border-color: #6e2622; color: #ff8a82; }

/* ---------- secciones ---------- */
section { padding: 3rem 0; }
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .35rem; color: #fff; }
h2 { font-size: 1.45rem; margin: 0 0 1.25rem; letter-spacing: -.015em; color: #fff; }
h3 { font-size: 1rem; margin: 1.75rem 0 .5rem; color: var(--accent); }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 600; margin: 0 0 .5rem; }
.lead { color: var(--dim); font-size: 1.05rem; margin-top: 0; }
.date { color: var(--dim); font-size: .85rem; margin: 0 0 2rem; }
p, li { color: var(--body); }
ul { padding-left: 1.15rem; }
li { margin: .45rem 0; }
strong { color: #fff; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3.5rem 0; }

/* ---------- tarjetas ---------- */
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.4rem; margin: 1.5rem 0;
}
.card p:last-child, .card ul:last-child, .card ol:last-child { margin-bottom: 0; }
.card p:first-child, .card h3:first-child { margin-top: 0; }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.grid .card { margin: 0; }
.card .glyph { font-size: 1.6rem; line-height: 1; display: block; margin-bottom: .7rem; }
.card h3 { color: #fff; font-size: 1.05rem; margin: 0 0 .4rem; }
.card p { margin: 0; font-size: .95rem; color: var(--dim); }
.card p strong { color: var(--body); }

/* ---------- capturas ---------- */
.shots { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 1.5rem 0 0; }
.shot { margin: 0; }
.shot img { border-radius: 18px; border: 1px solid var(--line); display: block; width: 100%; }
.shot figcaption { color: var(--dim); font-size: .88rem; margin-top: .6rem; }

.split { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; align-items: center; }
.split .shot img { max-width: 19rem; margin: 0 auto; }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }

/* ---------- tabla ---------- */
.tablewrap { overflow-x: auto; margin: 1rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 30rem; }
th, td { text-align: left; padding: .65rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--panel-2); padding: .12em .38em; border-radius: 5px; color: var(--ink); }

/* ---------- pie ---------- */
footer { border-top: 1px solid var(--line); margin-top: 3rem; }
footer .inner { max-width: 60rem; margin: 0 auto; padding: 2rem 1.25rem 3rem; color: var(--dim); font-size: .88rem; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; align-items: center; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer .spacer { flex: 1 1 auto; }

@media (max-width: 560px) {
  .hero { padding-top: 2.5rem; }
  .topbar nav { gap: .85rem; }
}
