/* MindStone Solutions · estilos del sitio
   Orden: variables, base, utilidades, componentes, secciones, páginas secundarias. */

/* ---------- Variables ---------- */
:root {
  --accent: #0E6B4F;
  --accent-dark: #0A4F3A;
  --accent-light: #8FD3B6;

  --ink: #111827;
  --ink-strong: #0B1220;
  --text: #374151;
  --muted: #4B5563;

  --bg: #FFFFFF;
  --bg-soft: #F5F8F6;
  --bg-soft-2: #F7F9F8;
  --bg-dark: #0B1F18;
  --on-dark: #D5E4DD;

  --line: #E5E7EB;
  --line-soft: #F0F2F1;
  --line-green: #DDE3E0;
  --line-strong: #CBD5D1;
  --input-border: #94A3A0;

  --ok-bg: #E6F2EC;
  --warn-bg: #FFF1DD;
  --warn-ink: #8A4B00;
  --neutral-bg: #EEF1F4;
  --error: #9B1C1C;

  --font-body: Inter, system-ui, sans-serif;
  --font-display: 'Space Grotesk', Inter, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --radius-sm: 10px;
  --radius: 12px;
  --radius-card: 16px;
  --radius-lg: 18px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, p { margin: 0; }
.icon { color: var(--accent); flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px var(--gutter);
}
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 48px;
  align-items: start;
}
.split--center { align-items: center; }
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

/* ---------- Tipografía ---------- */
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
}
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.lead { font-size: 18px; line-height: 1.55; color: var(--text); }
.copy { display: flex; flex-direction: column; gap: 16px; }
.copy--tight { gap: 14px; }
.note { font-size: 16px; line-height: 1.55; color: var(--muted); }
.note a { font-weight: 600; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 0;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn--primary { background: var(--accent); color: #FFFFFF; }
.btn--primary:hover { background: var(--accent-dark); color: #FFFFFF; }
.btn--outline { background: var(--bg); color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn--outline:hover { color: var(--ink); border-color: var(--accent); }
.btn--lg { min-height: 52px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 0 18px; border-radius: var(--radius-sm); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Encabezado ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.brand__name span { font-weight: 500; color: var(--muted); }
.site-nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; }
.site-nav__links > a:not(.btn) { color: var(--text); text-decoration: none; }
.site-nav__links > a:not(.btn):hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero .container { padding: 88px var(--gutter) 96px; gap: 56px; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  color: var(--ink-strong);
}
.hero__lead { font-size: 19px; line-height: 1.55; color: var(--text); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__fine { font-size: 14px; color: var(--muted); }

/* Tablero de ejemplo del hero */
.board {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line-green);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(15, 40, 30, 0.10);
  overflow: hidden;
}
.board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.board__title { font-weight: 600; font-size: 15px; }
.board__tag { font-size: 13px; color: var(--muted); }
.board__list { margin: 0; padding: 0; list-style: none; }
.board__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.board__row:last-child { border-bottom: 0; }
.board__item { display: flex; flex-direction: column; gap: 4px; }
.board__name { font-weight: 600; font-size: 15px; }
.board__meta { font-size: 13px; color: var(--muted); }
.board__foot {
  padding: 14px 20px;
  background: var(--bg-soft-2);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.board__foot .icon { color: var(--muted); }

.pill {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill--ok { background: var(--ok-bg); color: var(--accent-dark); }
.pill--warn { background: var(--warn-bg); color: var(--warn-ink); }
.pill--neutral { background: var(--neutral-bg); color: var(--text); }
.pill--solid { background: var(--accent); color: #FFFFFF; }

/* ---------- Tarjetas de servicio ---------- */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card__title { font-size: 20px; }
.card__text { font-size: 16px; line-height: 1.55; color: var(--muted); }
.card__link { font-size: 15px; font-weight: 600; }

/* ---------- Lista con palomitas ---------- */
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .icon { margin-top: 2px; }
.checklist strong { font-size: 17px; }
.checklist p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.checklist--panel { padding: 28px; background: var(--bg); border-radius: var(--radius-lg); }

/* ---------- Secciones oscuras ---------- */
.section--dark .eyebrow { color: var(--accent-light); }
.section--dark .section-title { color: #FFFFFF; }
.on-dark { font-size: 18px; line-height: 1.6; color: var(--on-dark); }

.experience .container { padding: 80px var(--gutter); }
.experience__copy { max-width: 880px; display: flex; flex-direction: column; gap: 14px; }
.experience__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 34px);
  line-height: 1.15;
  color: #FFFFFF;
}

/* ---------- Pasos ---------- */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}
.step {
  background: var(--bg);
  border: 1px solid var(--line-green);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step__num { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--accent); }
.step__title { font-size: 19px; }
.step__text { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- Formas de trabajar ---------- */
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan--featured { border: 2px solid var(--accent); background: var(--bg-soft); }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan__title { font-size: 20px; }
.plan__price { font-family: var(--font-display); font-size: 36px; font-weight: 700; }
.plan__price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan__features { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.8; color: var(--text); }
.plan .btn { margin-top: auto; padding: 0; }

/* ---------- Preguntas frecuentes ---------- */
.faq .container { max-width: 880px; display: flex; flex-direction: column; gap: 24px; }
.faq details {
  background: var(--bg);
  border: 1px solid var(--line-green);
  border-radius: 14px;
  padding: 20px 24px;
}
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--bg-soft);
}
.contact-form__head { display: flex; align-items: center; gap: 12px; }
.contact-form__title { font-size: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field__optional { font-weight: 400; color: var(--muted); }
.field input,
.field select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  background: var(--bg);
  color: var(--ink);
}
.field input:focus-visible,
.field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-legal { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-status { font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--accent-dark); }
.form-status:empty { display: none; }
.form-status--sending { color: var(--text); }
.form-status--error { color: var(--error); }
.visually-hidden-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

/* ---------- Páginas secundarias (aviso, gracias) ---------- */
.page { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; }
.page .site-nav,
.page .site-footer__inner { max-width: 760px; }
.page .brand__name { font-family: inherit; font-size: 20px; }
.page-content { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 80px; }
.page-content h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.15; margin: 0 0 16px; }
.page-content h2 { font-size: 20px; margin: 32px 0 8px; }
.page-content p,
.page-content li { color: var(--text); font-size: 16px; }
.page-content p { margin: 16px 0; }
.page-content ul { padding-left: 40px; }
.page-content .btn { min-height: 48px; padding: 0 22px; }
