/* MopTicket — sitio institucional estático
   Tema claro, refinado, sin dependencias de JS. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --paper: #f7f4ee;
  --paper-2: #fffdf8;
  --ink: #1c1d1a;
  --ink-soft: #4a4c46;
  --ink-faint: #75776f;
  --line: #e2ddd1;
  --accent: #0f7a52;
  --accent-soft: #e4efe7;
  --max: 1080px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Tipografía */
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.18rem; font-weight: 600; }
p  { color: var(--ink-soft); }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 0.95rem;
  font-family: 'IBM Plex Sans', sans-serif;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* Hero */
.hero {
  padding: 92px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 320px at 85% -10%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 16ch; margin: 18px 0 22px; }
.hero p.lead {
  font-size: 1.18rem;
  max-width: 54ch;
  color: var(--ink-soft);
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0c6745; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper-2); }

/* Secciones */
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head h2 { margin: 12px 0 14px; }

/* Pasos */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.step .num {
  counter-increment: step;
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 600;
}
.step .num::before { content: "0" counter(step); }
.step h3 { margin: 12px 0 8px; }
.step p { font-size: 0.95rem; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 4px 0; }
.feature .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.feature h3 { margin-bottom: 7px; }
.feature p { font-size: 0.96rem; }

/* Contacto */
.contact-card {
  background: var(--ink);
  color: #f3f1ea;
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.contact-card h2 { color: #fff; }
.contact-card p { color: #c9c8c0; margin-top: 10px; max-width: 46ch; }
.contact-card .btn-primary { background: var(--accent); }
.contact-card a.mail { color: #fff; font-weight: 600; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.foot .brand { font-size: 1.05rem; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-faint); font-size: 0.9rem; }
.foot-links a:hover { color: var(--ink); text-decoration: none; }
.copy { color: var(--ink-faint); font-size: 0.85rem; width: 100%; margin-top: 8px; }

/* Páginas legales */
.legal { padding: 64px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal .updated { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.35rem; margin: 38px 0 12px; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 22px; color: var(--ink-soft); }
.legal li { margin-bottom: 8px; }
.legal a.back { display: inline-block; margin-bottom: 32px; font-size: 0.92rem; }
