/* Transita landing page — shared styles (EN + ES).
   Mobile-first, responsive. Reuses the product brand tokens. */

:root {
  --bg: #ffffff;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #eff6ff;
  --bg-panel: #f8fafc;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.10);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand-mark { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 34px; height: 34px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; letter-spacing: -0.5px;
}
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-link {
  font-size: 13px; color: var(--muted); text-decoration: none; font-weight: 500;
}
.lang-link:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-size: 14px; font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.05s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-lg { padding: 13px 24px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero h1 {
  font-size: 34px; line-height: 1.12; letter-spacing: -0.8px;
  margin: 0 0 16px; max-width: 760px;
}
.hero .lede {
  font-size: 17px; line-height: 1.6; color: var(--ink-soft);
  margin: 0 0 26px; max-width: 640px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.hero-shot-frame {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ---------- Value props ---------- */
.section { padding: 48px 0; }
.section-tag {
  font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin: 0 0 10px;
}
.section h2 {
  font-size: 26px; line-height: 1.2; letter-spacing: -0.5px; margin: 0 0 8px;
}
.section .section-sub {
  font-size: 16px; color: var(--ink-soft); margin: 0 0 32px; max-width: 640px;
}

.props {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.prop {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}
.prop .num {
  width: 30px; height: 30px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; margin-bottom: 12px;
}
.prop h3 { margin: 0 0 6px; font-size: 16px; }
.prop p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Capability panels ---------- */
.panels { display: flex; flex-direction: column; gap: 56px; }
.panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.panel h3 { font-size: 21px; letter-spacing: -0.4px; margin: 0 0 10px; }
.panel p { font-size: 15px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.6; }
.panel ul { margin: 0; padding: 0; list-style: none; }
.panel li {
  font-size: 14px; color: var(--ink-soft); line-height: 1.5;
  padding-left: 20px; position: relative; margin-bottom: 8px;
}
.panel li::before {
  content: "›"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}
.panel-shot {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ---------- Closer band ---------- */
.closer {
  background: var(--accent-soft);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 28px 30px;
}
.closer p {
  margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink);
  max-width: 820px;
}
.closer strong { color: var(--accent); }

/* ---------- Roadmap ---------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.roadmap-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: var(--bg-panel);
}
.roadmap-item h4 { margin: 0 0 6px; font-size: 15px; }
.roadmap-item p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.roadmap-soon {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 2px 8px; border-radius: 999px; margin-bottom: 10px;
}

/* ---------- Final CTA + Calendly ---------- */
.cta {
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 44px 32px;
  text-align: center;
}
.cta h2 { color: #fff; font-size: 26px; margin: 0 0 10px; letter-spacing: -0.5px; }
.cta p { color: #cbd5e1; font-size: 16px; margin: 0 0 26px; }
.calendly-inline-widget {
  min-width: 320px;
  height: 680px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

/* ---------- Contact form ---------- */
.contact {
  max-width: 620px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-panel);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.contact .section-tag { margin-bottom: 8px; }
.contact h2 { margin: 0 0 6px; }
.contact .section-sub { margin: 0 auto 28px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.contact-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form label span {
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form button { align-self: stretch; margin-top: 4px; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

@media (min-width: 640px) {
  .contact-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 56px;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .props { grid-template-columns: 1fr 1fr; }
  .roadmap-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 44px; }
}

@media (min-width: 900px) {
  .hero { padding: 72px 0 48px; }
  .hero h1 { font-size: 52px; }
  .props { grid-template-columns: 1fr 1fr; }
  .roadmap-grid { grid-template-columns: 1fr 1fr 1fr; }
  .panel { grid-template-columns: 1fr 1.1fr; gap: 44px; }
  .panel.flip .panel-copy { order: 2; }
  .panel.flip .panel-shot { order: 1; }
  .section h2 { font-size: 30px; }
}
