/* Locus Creativo — hoja de estilos compartida */
:root {
  --bg: #f5f6f8;
  --ink: #373535;
  --text: #14161a;
  --muted: #5a5e66;
  --cyan: #00b5cc;
  --cyan-dark: #008a9c;
  --orange: #f38b1b;
  --white: #fafafa;
  --line: #e1e4ea;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Chakra Petch', 'Inter', system-ui, sans-serif;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Cabecera */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 246, 248, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--cyan); display: grid; place-items: center; font-size: 1rem; }
.nav { display: none; gap: 24px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--cyan-dark); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--cyan); color: #04222a; }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.site-header .btn { min-height: 40px; padding: 0 18px; font-size: .9rem; }

/* Hero */
.hero { padding: 72px 0 56px; }
.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 16px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Secciones */
.section { padding: 64px 0; }
.section-title { margin-bottom: 12px; }
.section-intro { color: var(--muted); max-width: 640px; margin-bottom: 36px; }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card-featured { border: 2px solid var(--cyan); background: #fff; }
.card-tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 10px; }

/* Pasos */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
.step { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--cyan); margin-bottom: 8px; }
.step h3 { margin-bottom: .3em; }
.step p { color: var(--muted); margin: 0; }

/* Tu Amigo de la Silla */
.identity-card {
  background: var(--ink); color: var(--white); border-radius: var(--radius);
  padding: 36px 28px; display: grid; gap: 20px; align-items: center;
}
.identity-card h2, .identity-card h3 { color: var(--white); }
.identity-card p { color: #d3d6dc; margin: 0; }
.identity-card .eyebrow { color: var(--orange); }
.identity-card .btn-primary { background: var(--orange); color: #1d1204; }
.identity-card .btn-primary:hover { background: var(--white); color: var(--ink); }

/* Contacto */
.contact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.contact-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font-size: 1.1rem; font-weight: 500; overflow-wrap: anywhere; }

/* Pie */
.site-footer { border-top: 1px solid var(--line); margin-top: 32px; padding: 32px 0 40px; color: var(--muted); font-size: .9rem; }
.site-footer .container { display: flex; flex-direction: column; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--ink); }

/* Páginas legales */
.legal { max-width: 720px; padding: 56px 0 24px; }
.legal h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal ul { padding-left: 1.25em; }
.legal li { margin-bottom: .5em; }
.legal .updated { color: var(--muted); font-size: .9rem; }

@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .nav { display: flex; }
  .hero { padding: 104px 0 80px; }
  .section { padding: 88px 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .identity-card { grid-template-columns: 1fr auto; padding: 48px; }
  .contact-list { grid-template-columns: repeat(3, 1fr); }
  .site-footer .container { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
