/* GasManager marketing site. Brand values match the app (frontend/tailwind.config.cjs). */
:root {
  --brand: #2a85ff;
  --brand-600: #1768f0;
  --brand-700: #1153d6;
  --brand-50: #eef7ff;
  --brand-100: #d9ecff;
  --ink: #0f172a;
  --text: #1f2937;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e2e8f0;
  --panel: #ffffff;
  --panel-2: #f7f9fc;
  --navy: #0a0f1d;
  --ok: #10b981;
  --warn: #f59e0b;
  --bad: #f43f5e;
  --fuel: rgb(241, 196, 21);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .18);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--panel);
}
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-600); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--panel-2); }
.btn.light { background: #fff; color: var(--brand-700); }
.btn.light:hover { background: var(--brand-50); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.small { padding: 8px 14px; font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; display: block; flex-shrink: 0; }
/* Brand gold from the original gasmanager.com.do logo; deeper on light backgrounds for legibility. */
.logo-gas { color: #E8B400; }
.topbar .logo { color: #2282C3; }
.footer .logo-gas { color: #F9D900; }
.logo small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .01em; margin-top: 1px; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { color: var(--muted); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--panel-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang {
  font: inherit; font-size: 14px; color: var(--ink); background: transparent;
  border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; cursor: pointer;
}
.menu-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--ink);
}
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 16px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.top-actions .signin-text { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
  .top-actions .signin-text { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, var(--brand-100), transparent 70%),
    linear-gradient(180deg, var(--brand-50), #fff 75%);
  padding: 56px 0 64px;
}
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } .hero { padding: 88px 0 96px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--brand-700); background: #fff; border: 1px solid var(--brand-100);
  padding: 5px 12px; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-size: clamp(34px, 5.2vw, 54px); margin-top: 18px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); margin-top: 18px; max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .note { margin-top: 14px; font-size: 13.5px; color: var(--faint); }

/* Illustrative dashboard */
.mock {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35), var(--shadow);
  padding: 16px;
}
.mock-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 14px; }
.mock-head strong { color: var(--ink); font-size: 15px; }
.mock-head span { font-size: 12px; color: var(--faint); }
.mock-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .mock-grid { grid-template-columns: 1fr 1fr; } }
.tank-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.tank-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; align-items: center; }
.tank-card .row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.tank-card .name { font-weight: 600; font-size: 14px; color: var(--ink); }
.tank-card .where { font-size: 11.5px; color: var(--faint); }
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.ok { color: #047857; background: #d1fae5; }
.badge.warn { color: #b45309; background: #fef3c7; }
.badge.bad { color: #be123c; background: #ffe4e6; }
.tank-svg { width: 78%; margin: 6px auto 2px; }
.tank-svg text { font: 600 100px Inter, system-ui, sans-serif; fill: var(--ink); stroke: #fff; stroke-width: 18px; paint-order: stroke; stroke-linejoin: round; }
.tank-card .stats { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.tank-card .stats b { color: var(--ink); font-weight: 600; }

/* ---------- Facts strip ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel-2); }
.facts ul { list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 10px 24px; grid-template-columns: 1fr 1fr; }
@media (min-width: 820px) { .facts ul { grid-template-columns: repeat(4, 1fr); } }
.facts li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.facts svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
@media (min-width: 980px) { section.block { padding: 96px 0; } }
section.block.alt { background: var(--panel-2); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(27px, 3.4vw, 38px); }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.kicker { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-600); margin-bottom: 10px; }

.grid-3 { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 18px; margin-top: 16px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600);
}
.icon svg { width: 22px; height: 22px; }

/* How it works */
.steps { display: grid; gap: 18px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 15px;
}
.step h3 { font-size: 18px; margin-top: 16px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Reports */
.report-groups { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .report-groups { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .report-groups { grid-template-columns: repeat(5, 1fr); } }
.report-group { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.report-group h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.report-group h3 .dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.report-group ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.report-group li { font-size: 14px; color: var(--muted); padding-left: 14px; position: relative; }
.report-group li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--line); }

/* Audiences */
.aud { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.aud h3 { font-size: 16.5px; }
.aud p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand-700), #0f2858); color: #fff; border-radius: 22px; padding: 44px 28px; display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; padding: 52px 56px; } }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.cta-band p { color: rgba(255, 255, 255, .78); margin-top: 10px; font-size: 17px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .62); padding: 40px 0; margin-top: 72px; font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.footer .logo { color: #fff; }
.footer .logo small { color: rgba(255, 255, 255, .5); }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer a { color: rgba(255, 255, 255, .8); }
.footer .legal { flex-basis: 100%; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; font-size: 13px; }

/* ---------- Contact page ---------- */
.page-head { background: linear-gradient(180deg, var(--brand-50), #fff); padding: 56px 0 28px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 46px); }
.page-head p { margin-top: 12px; color: var(--muted); font-size: 18px; max-width: 38em; }
.contact-layout { display: grid; gap: 28px; grid-template-columns: 1fr; padding-bottom: 24px; }
@media (min-width: 980px) { .contact-layout { grid-template-columns: 1fr 320px; align-items: start; } }

.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.fields { display: grid; gap: 16px 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .fields { grid-template-columns: 1fr 1fr; } }
.span { grid-column: 1 / -1; }
.field label, .legend { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.legend small, .field label small { font-weight: 400; color: var(--faint); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid #cbd5e1; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(42, 133, 255, .18);
}
.interests { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.chip {
  display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer;
  transition: background .15s, border-color .15s;
}
.chip:hover { background: var(--panel-2); }
.chip input { accent-color: var(--brand); width: 16px; height: 16px; margin: 0; flex: none; }
.chip:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.chip:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(42, 133, 255, .25); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.hint { font-size: 13px; color: var(--faint); }
.alert { margin-top: 18px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14.5px; }
.alert.err { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.success { text-align: center; padding: 28px 8px; }
.success .tick { width: 56px; height: 56px; border-radius: 50%; background: #d1fae5; color: #047857; display: grid; place-items: center; margin: 0 auto 16px; }
.success .tick svg { width: 28px; height: 28px; }
.success h2 { font-size: 24px; }
.success p { margin-top: 10px; color: var(--muted); }
.success .btn { margin-top: 22px; }
.side { display: grid; gap: 16px; }
.side .card h3 { margin-top: 0; font-size: 16px; }
.side ol { margin: 12px 0 0; padding-left: 20px; color: var(--muted); font-size: 14.5px; display: grid; gap: 8px; }

/* Honeypot: off screen rather than display:none, so naive bots still fill it. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
[hidden] { display: none !important; }

/* Narrow screens: keep the illustrative tanks a sensible size. */
.tank-card .tank-svg { max-width: 230px; }
@media (max-width: 519px) { .tank-card.wide { grid-template-columns: 1fr; } }
